Skip to content

Commit

Permalink
[FIX] stock_orderpoint_manual_update: compute inactive lines qtys
Browse files Browse the repository at this point in the history
closes #505

X-original-commit: 414ebf4
Signed-off-by: Bruno Zanotti <[email protected]>
  • Loading branch information
bruno-zanotti committed Aug 7, 2024
1 parent 20da970 commit fca04e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def action_confirm(self):
})
action = self.with_context(ctx).env['stock.warehouse.orderpoint']._get_orderpoint_action()
orderpoint_domain = self._get_orderpoint_domain()
orderpoints = self.env['stock.warehouse.orderpoint'].search(orderpoint_domain)
orderpoints = self.env['stock.warehouse.orderpoint'].with_context(active_test=False).search(orderpoint_domain)
orderpoints._compute_qty_to_order()
orderpoints.update_qty_forecast()
orderpoints._compute_rotation()
Expand Down

0 comments on commit fca04e1

Please sign in to comment.