[FIX] stock: correct misleading tooltips

The tooltips are incorrect and lead to wrong expectations on the
behavior.

opw-2249152

closes odoo/odoo#50746

X-original-commit: bf1d83dd310983c3f3270bf7a7f5c03128fb0993
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Nicolas Martinelli
2020-05-06 11:17:04 +00:00
parent 14807da76e
commit a4b52411cc
2 changed files with 6 additions and 14 deletions
+3 -11
View File
@@ -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
+3 -3
View File
@@ -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(