Skip to content

Commit e2a07e4

Browse files
committed
[IMP] stock_orderpoint_manual_update: rm manual compute qty_to_order
Since the Odoo commit #cb764a9 we don't need to call the compute method of qty_to_order manually.
1 parent fca04e1 commit e2a07e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stock_orderpoint_manual_update/wizard/stock_warehouse_orderpoint_wizard.py

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def action_confirm(self):
2424
action = self.with_context(ctx).env['stock.warehouse.orderpoint']._get_orderpoint_action()
2525
orderpoint_domain = self._get_orderpoint_domain()
2626
orderpoints = self.env['stock.warehouse.orderpoint'].with_context(active_test=False).search(orderpoint_domain)
27-
orderpoints._compute_qty_to_order()
2827
orderpoints.update_qty_forecast()
2928
orderpoints._compute_rotation()
3029
action['domain'] = expression.AND([

0 commit comments

Comments
 (0)