diff --git a/mrp_production_request/models/stock_warehouse_orderpoint.py b/mrp_production_request/models/stock_warehouse_orderpoint.py index b19e353c4..9bc6e07f4 100644 --- a/mrp_production_request/models/stock_warehouse_orderpoint.py +++ b/mrp_production_request/models/stock_warehouse_orderpoint.py @@ -9,7 +9,7 @@ class Orderpoint(models.Model): def _quantity_in_progress(self): res = super()._quantity_in_progress() - mrp_requests = self.env['mrp.production.request'].search([ + mrp_requests = self.env['mrp.production.request'].sudo().search([ ('state', 'not in', ('done', 'cancel')), ('orderpoint_id', 'in', self.ids), ])