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 odoo@07e2fca
uses `qty_done` instead of `quantity` in test
`test_valuation_with_backorder`

closes odoo#159248

Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
  • Loading branch information
Mtaylorr authored and willylohws committed May 1, 2024
1 parent 97cbbb1 commit 07f9691
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 @@ -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()
Expand Down

0 comments on commit 07f9691

Please sign in to comment.