Skip to content

Commit

Permalink
[IMP] stock_orderpoint_manual_update: rm manual compute qty_to_order
Browse files Browse the repository at this point in the history
Since the Odoo commit #cb764a9 we don't need to call the compute
method of qty_to_order manually.
  • Loading branch information
bruno-zanotti committed Aug 13, 2024
1 parent fca04e1 commit e2a07e4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ 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'].with_context(active_test=False).search(orderpoint_domain)
orderpoints._compute_qty_to_order()
orderpoints.update_qty_forecast()
orderpoints._compute_rotation()
action['domain'] = expression.AND([
Expand Down

0 comments on commit e2a07e4

Please sign in to comment.