解决sf_quality报错问题,增加单元测试

This commit is contained in:
胡尧
2024-10-16 10:19:41 +08:00
parent 92c4bcb049
commit 9ca9b337ef
5 changed files with 66 additions and 43 deletions

View File

@@ -9,10 +9,10 @@ import base64
from lxml import etree
@tagged('post_install', '-at_install')
class TestJikimoWorkorderExceptionNotifyCommon(TransactionCase):
class TestJikimoWorkorderExceptionNotifyCommonNotify(TransactionCase):
def setUp(self):
super(TestJikimoWorkorderExceptionNotifyCommon, self).setUp()
super(TestJikimoWorkorderExceptionNotifyCommonNotify, self).setUp()
# 获取最后一个工单
self.workorder = self.env['mrp.workorder'].search([], order='id desc', limit=1)