[ADD] mrp_account_bom_attribute_match

This commit is contained in:
Ivàn Todorovich
2023-01-31 10:32:24 -03:00
committed by Ilyas
parent 853bb4e7fa
commit 9359e6e2ce
11 changed files with 88 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
from odoo.tests import Form, common
from odoo.tests import Form, TransactionCase
class TestMrpAttachmentMgmtBase(common.SavepointCase):
class TestMrpBomAttributeMatchBase(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()

View File

@@ -1,14 +1,10 @@
from odoo.exceptions import UserError, ValidationError
from odoo.tests import Form
from .common import TestMrpAttachmentMgmtBase
from .common import TestMrpBomAttributeMatchBase
class TestMrpAttachmentMgmt(TestMrpAttachmentMgmtBase):
@classmethod
def setUpClass(cls):
super().setUpClass()
class TestMrpAttachmentMgmt(TestMrpBomAttributeMatchBase):
def test_bom_1(self):
mrp_bom_form = Form(self.env["mrp.bom"])
mrp_bom_form.product_tmpl_id = self.product_sword