diff --git a/stock_orderpoint_manual_update/wizard/stock_warehouse_orderpoint_wizard.py b/stock_orderpoint_manual_update/wizard/stock_warehouse_orderpoint_wizard.py index 25e0b4ca5..515054962 100644 --- a/stock_orderpoint_manual_update/wizard/stock_warehouse_orderpoint_wizard.py +++ b/stock_orderpoint_manual_update/wizard/stock_warehouse_orderpoint_wizard.py @@ -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()