summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaresh Shyara <hsh@odoo.com>2018-11-26 09:42:11 +0000
committerHaresh Shyara <hsh@odoo.com>2018-11-26 12:24:13 +0000
commitabcfa38f2cfe6fea16a5138638894e6fc8aa5822 (patch)
treec6955a2d688d86ea6421b81b3550c6a16d37b1c1
parent93a33e603a3e3c02656b9aa59396f204245826e0 (diff)
[IMP] stock: rename 'Make to Order (MTO)' into 'Replenish on Order (MTO)'
-rw-r--r--addons/stock/data/stock_data.xml2
-rw-r--r--addons/stock/models/product.py2
-rw-r--r--odoo/addons/test_main_flows/static/src/js/tour.js8
3 files changed, 6 insertions, 6 deletions
diff --git a/addons/stock/data/stock_data.xml b/addons/stock/data/stock_data.xml
index be5f560d1a1..52ea5baf809 100644
--- a/addons/stock/data/stock_data.xml
+++ b/addons/stock/data/stock_data.xml
@@ -66,7 +66,7 @@
<!-- set a lower sequence on the mto route than on the resupply routes -->
<record id="route_warehouse0_mto" model='stock.location.route'>
- <field name="name">Make To Order</field>
+ <field name="name">Replenish on Order (MTO)</field>
<field name="company_id"></field>
<field name="sequence">5</field>
</record>
diff --git a/addons/stock/models/product.py b/addons/stock/models/product.py
index 7963894db71..2f16867a42c 100644
--- a/addons/stock/models/product.py
+++ b/addons/stock/models/product.py
@@ -443,7 +443,7 @@ class ProductTemplate(models.Model):
route_ids = fields.Many2many(
'stock.location.route', 'stock_route_product', 'product_id', 'route_id', 'Routes',
domain=[('product_selectable', '=', True)],
- help="Depending on the modules installed, this will allow you to define the route of the product: whether it will be bought, manufactured, MTO, etc.")
+ help="Depending on the modules installed, this will allow you to define the route of the product: whether it will be bought, manufactured, replenished on order, etc.")
nbr_reordering_rules = fields.Integer('Reordering Rules', compute='_compute_nbr_reordering_rules')
# TDE FIXME: really used ?
reordering_min_qty = fields.Float(compute='_compute_nbr_reordering_rules')
diff --git a/odoo/addons/test_main_flows/static/src/js/tour.js b/odoo/addons/test_main_flows/static/src/js/tour.js
index d79036346b2..4d29ed4e608 100644
--- a/odoo/addons/test_main_flows/static/src/js/tour.js
+++ b/odoo/addons/test_main_flows/static/src/js/tour.js
@@ -58,8 +58,8 @@ tour.register('main_flow_tour', {
content: _t('Uncheck Buy'),
position: 'right',
}, {
- trigger: '.o_field_widget[name=route_ids] .custom-checkbox > label:contains("Make To Order")',
- content: _t('Uncheck Make To Order'),
+ trigger: '.o_field_widget[name=route_ids] .custom-checkbox > label:contains("Replenish on Order (MTO)")',
+ content: _t('Uncheck Replenish on Order (MTO)'),
position: 'right',
}, {
trigger: '.o_notebook a:contains("General Information")',
@@ -114,8 +114,8 @@ tour.register('main_flow_tour', {
content: _t('Go to inventory tab'),
position: 'top',
}, {
- trigger: '.o_field_widget[name=route_ids] .custom-checkbox > label:contains("Make To Order")',
- content: _t('Check Make To Order'),
+ trigger: '.o_field_widget[name=route_ids] .custom-checkbox > label:contains("Replenish on Order (MTO)")',
+ content: _t('Check Replenish on Order (MTO)'),
position: 'right',
}, {
trigger: '.o_notebook a:contains("Purchase")',