-
+
+
days
diff --git a/addons/purchase/models/purchase.py b/addons/purchase/models/purchase.py
index 044e6c13891..ffd1c1fa559 100644
--- a/addons/purchase/models/purchase.py
+++ b/addons/purchase/models/purchase.py
@@ -1100,7 +1100,7 @@ class ProductTemplate(models.Model):
purchase_method = fields.Selection([
('purchase', 'On ordered quantities'),
('receive', 'On received quantities'),
- ], string="Control Purchase Bills",
+ ], string="Control Policy",
help="On ordered quantities: control bills based on ordered quantities.\n"
"On received quantities: control bills based on received quantity.", default="receive")
route_ids = fields.Many2many(default=lambda self: self._get_buy_route())
diff --git a/addons/purchase/views/purchase_views.xml b/addons/purchase/views/purchase_views.xml
index d70ed23aee5..988f3595983 100644
--- a/addons/purchase/views/purchase_views.xml
+++ b/addons/purchase/views/purchase_views.xml
@@ -558,14 +558,19 @@
product.template
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
-
+
+ placeholder="This note will show up on purchase orders."/>
@@ -587,7 +592,7 @@
-
+
@@ -606,7 +611,7 @@
-
+
@@ -634,8 +639,7 @@
product.template
-
-
+
diff --git a/addons/purchase_requisition/views/purchase_requisition_views.xml b/addons/purchase_requisition/views/purchase_requisition_views.xml
index 61fac151782..55a6eb5ca05 100644
--- a/addons/purchase_requisition/views/purchase_requisition_views.xml
+++ b/addons/purchase_requisition/views/purchase_requisition_views.xml
@@ -256,11 +256,13 @@
product.template.form.inherit
product.template
-
+
-
-
-
+
+
+
+
+
diff --git a/addons/report_intrastat/models/report_intrastat.py b/addons/report_intrastat/models/report_intrastat.py
index 12552c56f28..8381b513425 100644
--- a/addons/report_intrastat/models/report_intrastat.py
+++ b/addons/report_intrastat/models/report_intrastat.py
@@ -21,4 +21,4 @@ class ReportIntrastatCode(models.Model):
class ProductTemplate(models.Model):
_inherit = "product.template"
- intrastat_id = fields.Many2one('report.intrastat.code', string='Intrastat code')
+ intrastat_id = fields.Many2one('report.intrastat.code', string='Intrastat Code')
diff --git a/addons/report_intrastat/views/report_intrastat_views.xml b/addons/report_intrastat/views/report_intrastat_views.xml
index f91c5db3745..729864de967 100644
--- a/addons/report_intrastat/views/report_intrastat_views.xml
+++ b/addons/report_intrastat/views/report_intrastat_views.xml
@@ -29,10 +29,8 @@
product.template
-
-
-
-
+
+
diff --git a/addons/sale/models/product_template.py b/addons/sale/models/product_template.py
index 6d51984b51e..4a7a58f05e6 100644
--- a/addons/sale/models/product_template.py
+++ b/addons/sale/models/product_template.py
@@ -16,7 +16,7 @@ class ProductTemplate(models.Model):
sale_line_warn = fields.Selection(WARNING_MESSAGE, 'Sales Order Line', help=WARNING_HELP, required=True, default="no-message")
sale_line_warn_msg = fields.Text('Message for Sales Order Line')
expense_policy = fields.Selection(
- [('no', 'No'), ('cost', 'At cost'), ('sales_price', 'At sale price')],
+ [('no', 'No'), ('cost', 'At cost'), ('sales_price', 'Sales price')],
string='Re-Invoice Expenses',
default='no')
diff --git a/addons/sale/views/sale_views.xml b/addons/sale/views/sale_views.xml
index 2a6ebab121f..58cff62bab2 100644
--- a/addons/sale/views/sale_views.xml
+++ b/addons/sale/views/sale_views.xml
@@ -610,6 +610,13 @@
+
+
+
+
+
+
@@ -625,7 +632,7 @@
-
+
product.template
-
-
-
+
+
-
+
diff --git a/addons/sale_expense/views/product_view.xml b/addons/sale_expense/views/product_view.xml
index ddedc50e4dc..90539c2fade 100644
--- a/addons/sale_expense/views/product_view.xml
+++ b/addons/sale_expense/views/product_view.xml
@@ -5,7 +5,7 @@
product.template
-
+
diff --git a/addons/sale_stock/views/stock_views.xml b/addons/sale_stock/views/stock_views.xml
index 4dd032e1519..edd98a6da33 100644
--- a/addons/sale_stock/views/stock_views.xml
+++ b/addons/sale_stock/views/stock_views.xml
@@ -12,7 +12,7 @@
parent="sales_team.menu_base_partner" sequence="5" />
-
+
stock.location.route.form
stock.location.route
@@ -23,5 +23,27 @@
+
+ product.template.inherit.form
+
+ product.template
+
+
+
+
+
+
+ product.template.inherit.form
+
+ product.template
+
+
+
+
diff --git a/addons/stock/views/product_views.xml b/addons/stock/views/product_views.xml
index f48ccd89a0c..bbcbafb7b08 100644
--- a/addons/stock/views/product_views.xml
+++ b/addons/stock/views/product_views.xml
@@ -125,22 +125,28 @@
-
+
+
+
+ days
+
-
-
-
+
+
+
-
-
-
+
+
-
+
+
+
+
@@ -149,27 +155,15 @@
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- months
-
-
-
- days
-
diff --git a/addons/stock_account/views/product_views.xml b/addons/stock_account/views/product_views.xml
index 489340094ee..c9ff635a42b 100644
--- a/addons/stock_account/views/product_views.xml
+++ b/addons/stock_account/views/product_views.xml
@@ -39,7 +39,7 @@
@@ -49,13 +49,11 @@
class="oe_link oe_read_only" colspan="2"/>
-
+
diff --git a/addons/stock_landed_costs/models/product.py b/addons/stock_landed_costs/models/product.py
index ca336cc7c4f..1b124a20b3c 100644
--- a/addons/stock_landed_costs/models/product.py
+++ b/addons/stock_landed_costs/models/product.py
@@ -15,7 +15,7 @@ SPLIT_METHOD = [
class ProductTemplate(models.Model):
_inherit = "product.template"
- landed_cost_ok = fields.Boolean('Landed Costs')
+ landed_cost_ok = fields.Boolean('Is a Landed Cost')
split_method = fields.Selection(
selection=SPLIT_METHOD, string='Split Method', default='equal',
help="Equal : Cost will be equally divided.\n"
diff --git a/addons/stock_landed_costs/views/product_views.xml b/addons/stock_landed_costs/views/product_views.xml
index 0749add5b6d..dc392b7a482 100644
--- a/addons/stock_landed_costs/views/product_views.xml
+++ b/addons/stock_landed_costs/views/product_views.xml
@@ -4,10 +4,10 @@
product.template.landed.cost.form
product.template
-
+
-
+
diff --git a/addons/website_sale/views/product_views.xml b/addons/website_sale/views/product_views.xml
index ac6fe261357..bc18e1de049 100644
--- a/addons/website_sale/views/product_views.xml
+++ b/addons/website_sale/views/product_views.xml
@@ -79,7 +79,7 @@
+ type="object" icon="fa-globe" attrs="{'invisible': [('sale_ok','=',False)]}">