diff --git a/addons/purchase_mrp/tests/test_purchase_mrp_flow.py b/addons/purchase_mrp/tests/test_purchase_mrp_flow.py index f0dfa3fbc084a..b803eebda5abf 100644 --- a/addons/purchase_mrp/tests/test_purchase_mrp_flow.py +++ b/addons/purchase_mrp/tests/test_purchase_mrp_flow.py @@ -971,8 +971,8 @@ def test_valuation_with_backorder(self): po.button_confirm() receipt = po.picking_ids - receipt.move_line_ids[0].qty_done = 4 - receipt.move_line_ids[1].qty_done = 2 + receipt.move_line_ids[0].quantity = 4 + receipt.move_line_ids[1].quantity = 2 action = receipt.button_validate() wizard = Form(self.env[action['res_model']].with_context(action['context'])).save() wizard.process()