Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] mrp_subcontracting: fix test_several_backorders_2 #163729

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/mrp_subcontracting/tests/test_subcontracting.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def test_several_backorders_2(self):

def process_picking_with_backorder(picking, qty):
# Process the picking by putting the given quantity on the stock.move.line
picking.move_line_ids.ensure_one().qty_done = qty
picking.move_line_ids.ensure_one().quantity = qty
action = picking.button_validate()
if isinstance(action, dict):
wizard = Form(self.env[action['res_model']].with_context(action['context'])).save()
Expand Down