diff --git a/addons/sale_mrp/tests/test_sale_mrp_flow.py b/addons/sale_mrp/tests/test_sale_mrp_flow.py index 9941679d588..c6499f4b1a9 100644 --- a/addons/sale_mrp/tests/test_sale_mrp_flow.py +++ b/addons/sale_mrp/tests/test_sale_mrp_flow.py @@ -9,8 +9,7 @@ from odoo.addons.stock_account.tests.test_stockvaluation import _create_accounti # these tests create accounting entries, and therefore need a chart of accounts -@common.tagged('post_install', '-at_install') -class TestSaleMrpFlow(ValuationReconciliationTestCommon): +class TestSaleMrpFlowCommon(ValuationReconciliationTestCommon): @classmethod def setUpClass(cls, chart_template_ref=None): @@ -237,6 +236,9 @@ class TestSaleMrpFlow(ValuationReconciliationTestCommon): move_line.quantity = qty_to_process[comp][0] move._action_done() + +@common.tagged('post_install', '-at_install') +class TestSaleMrpFlow(TestSaleMrpFlowCommon): def test_00_sale_mrp_flow(self): """ Test sale to mrp flow with diffrent unit of measure.""" diff --git a/addons/sale_mrp_margin/tests/test_sale_mrp_flow.py b/addons/sale_mrp_margin/tests/test_sale_mrp_flow.py index b860e1da6ee..19c42aefab4 100644 --- a/addons/sale_mrp_margin/tests/test_sale_mrp_flow.py +++ b/addons/sale_mrp_margin/tests/test_sale_mrp_flow.py @@ -6,7 +6,7 @@ from odoo.tests import common, Form @common.tagged('post_install', '-at_install') -class TestSaleMrpFlow(test_sale_mrp_flow.TestSaleMrpFlow): +class TestSaleMrpFlow(test_sale_mrp_flow.TestSaleMrpFlowCommon): def test_kit_cost_calculation(self): """ Check that the average cost price is computed correctly after SO confirmation: