Skip to content

Commit

Permalink
[FIX] purchase_mrp: fixing test test_valuation_with_backorder
Browse files Browse the repository at this point in the history
this commit 07e2fca
uses `qty_done` instead of `quantity` in test
`test_valuation_with_backorder`

closes #159343

X-original-commit: 4e8d7e8
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
  • Loading branch information
Mtaylorr committed Mar 27, 2024
1 parent 11ac6ad commit 54075b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/purchase_mrp/tests/test_purchase_mrp_flow.py
Expand Up @@ -961,8 +961,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()
Expand Down

0 comments on commit 54075b4

Please sign in to comment.