diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index b57de08af27..636606f7ccd 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -6818,11 +6818,7 @@ msgstr "" #. module: stock #: model:ir.model.fields,help:stock.field_stock_location_route__warehouse_selectable -msgid "" -"When a warehouse is selected for this route, this route should be seen as " -"the default route when products pass through this warehouse. This behaviour" -" can be overridden by the routes on the Product/Product Categories or by the" -" Preferred Routes on the Procurement" +msgid "When a warehouse is selected for this route, this route should be seen as the default route when products pass through this warehouse." msgstr "" #. module: stock @@ -6832,16 +6828,12 @@ msgstr "" #. module: stock #: model:ir.model.fields,help:stock.field_stock_location_route__product_selectable -msgid "" -"When checked, the route will be selectable in the Inventory tab of the " -"Product form. It will take priority over the Warehouse route. " +msgid "When checked, the route will be selectable in the Inventory tab of the Product form." msgstr "" #. module: stock #: model:ir.model.fields,help:stock.field_stock_location_route__product_categ_selectable -msgid "" -"When checked, the route will be selectable on the Product Category. It will" -" take priority over the Warehouse route. " +msgid "When checked, the route will be selectable on the Product Category." msgstr "" #. module: stock diff --git a/addons/stock/models/stock_location.py b/addons/stock/models/stock_location.py index 0927d172ee1..a4402d69d21 100644 --- a/addons/stock/models/stock_location.py +++ b/addons/stock/models/stock_location.py @@ -173,9 +173,9 @@ class Route(models.Model): active = fields.Boolean('Active', default=True, help="If the active field is set to False, it will allow you to hide the route without removing it.") sequence = fields.Integer('Sequence', default=0) rule_ids = fields.One2many('stock.rule', 'route_id', 'Rules', copy=True) - product_selectable = fields.Boolean('Applicable on Product', default=True, help="When checked, the route will be selectable in the Inventory tab of the Product form. It will take priority over the Warehouse route. ") - product_categ_selectable = fields.Boolean('Applicable on Product Category', help="When checked, the route will be selectable on the Product Category. It will take priority over the Warehouse route. ") - warehouse_selectable = fields.Boolean('Applicable on Warehouse', help="When a warehouse is selected for this route, this route should be seen as the default route when products pass through this warehouse. This behaviour can be overridden by the routes on the Product/Product Categories or by the Preferred Routes on the Procurement") + product_selectable = fields.Boolean('Applicable on Product', default=True, help="When checked, the route will be selectable in the Inventory tab of the Product form.") + product_categ_selectable = fields.Boolean('Applicable on Product Category', help="When checked, the route will be selectable on the Product Category.") + warehouse_selectable = fields.Boolean('Applicable on Warehouse', help="When a warehouse is selected for this route, this route should be seen as the default route when products pass through this warehouse.") supplied_wh_id = fields.Many2one('stock.warehouse', 'Supplied Warehouse') supplier_wh_id = fields.Many2one('stock.warehouse', 'Supplying Warehouse') company_id = fields.Many2one(