diff --git a/mrp_lot_number_propagation/tests/__init__.py b/mrp_lot_number_propagation/tests/__init__.py index a16beef0b..6f95782dc 100644 --- a/mrp_lot_number_propagation/tests/__init__.py +++ b/mrp_lot_number_propagation/tests/__init__.py @@ -1 +1,2 @@ from . import test_mrp_bom +from . import test_mrp_production diff --git a/mrp_lot_number_propagation/tests/test_mrp_production.py b/mrp_lot_number_propagation/tests/test_mrp_production.py index 0ef629e5b..9badf7f27 100644 --- a/mrp_lot_number_propagation/tests/test_mrp_production.py +++ b/mrp_lot_number_propagation/tests/test_mrp_production.py @@ -34,7 +34,7 @@ class TestMrpProduction(Common): def _set_qty_done(self, order): for line in order.move_raw_ids.move_line_ids: - line.qty_done = line.product_uom_qty + line.qty_done = line.reserved_uom_qty order.qty_producing = order.product_qty def test_order_propagated_lot_producing(self):