Skip to content
Snippets Groups Projects
Commit 82bd320f authored by clesgow's avatar clesgow
Browse files

[IMP] stock: harmonize orderpoint tooltips

Fix the inconsistency of product_{min,max}_qty in orderpoint. Both have
different tooltip saying that the reordering rule would trigger if :
- min: forecasted_qty <= product_min_qty
- max: forecasted_qty < product_min_qty

As the tooltip of the product_max_qty is in fact correct, we adapt the
tooltip of the product_min_qty to match the reality.

Task-2656397

Part-of: odoo/odoo#78199
parent 0f692e13
No related branches found
No related tags found
No related merge requests found
......@@ -8365,7 +8365,7 @@ msgstr ""
#. module: stock
#: model:ir.model.fields,help:stock.field_stock_warehouse_orderpoint__product_min_qty
msgid ""
"When the virtual stock equals to or goes below the Min Quantity specified "
"When the virtual stock goes below the Min Quantity specified "
"for this field, Odoo generates a procurement to bring the forecasted "
"quantity to the Max Quantity."
msgstr ""
......
......@@ -72,7 +72,7 @@ class StockWarehouseOrderpoint(models.Model):
product_uom_name = fields.Char(string='Product unit of measure label', related='product_uom.display_name', readonly=True)
product_min_qty = fields.Float(
'Min Quantity', digits='Product Unit of Measure', required=True, default=0.0,
help="When the virtual stock equals to or goes below the Min Quantity specified for this field, Odoo generates "
help="When the virtual stock goes below the Min Quantity specified for this field, Odoo generates "
"a procurement to bring the forecasted quantity to the Max Quantity.")
product_max_qty = fields.Float(
'Max Quantity', digits='Product Unit of Measure', required=True, default=0.0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment