diff --git a/addons/stock/models/stock_rule.py b/addons/stock/models/stock_rule.py index d810c2655f4..4ce280e4764 100644 --- a/addons/stock/models/stock_rule.py +++ b/addons/stock/models/stock_rule.py @@ -51,7 +51,7 @@ class StockRule(models.Model): "Trigger Another Rule: the system will try to find a stock rule to bring the products in the source location. The available stock will be ignored.\n" "Take From Stock, if Unavailable, Trigger Another Rule: the products will be taken from the available stock of the source location." "If there is no stock available, the system will try to find a rule to bring the products in the source location.") - route_sequence = fields.Integer('Route Sequence', related='route_id.sequence', store=True, readonly=False) + route_sequence = fields.Integer('Route Sequence', related='route_id.sequence', store=True, readonly=False, compute_sudo=True) picking_type_id = fields.Many2one( 'stock.picking.type', 'Operation Type', required=True, check_company=True)