summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Vandevenne (anv) <anv@odoo.com>2019-09-30 16:22:15 +0000
committerArnaud Joset <arj@odoo.com>2019-10-01 15:13:18 +0000
commit2bd2bca2cf322079a137d4efb5e92774e2c78e88 (patch)
tree876e0f9a16420b570fa0bdacd81798649ae25f52
parent849be97f5a08469108a999033df075495d3463e1 (diff)
[IMP] product: rename label sale price to sales price
task-2052537
-rw-r--r--addons/product/models/product_template.py2
-rw-r--r--addons/product/views/product_views.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py
index a3c9b2aed60..fa34ae65a82 100644
--- a/addons/product/models/product_template.py
+++ b/addons/product/models/product_template.py
@@ -78,7 +78,7 @@ class ProductTemplate(models.Model):
digits='Product Price')
# list_price: catalog price, user defined
list_price = fields.Float(
- 'Sale Price', default=1.0,
+ 'Sales Price', default=1.0,
digits='Product Price',
help="Price at which the product is sold to customers.")
# lst_price: catalog price for template, but including extra for variants
diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml
index e9b9cbd1fe2..89614d2da41 100644
--- a/addons/product/views/product_views.xml
+++ b/addons/product/views/product_views.xml
@@ -47,7 +47,7 @@
<group name="group_standard_price">
<label for="list_price"/>
<div name="pricing">
- <field name="list_price" string="Sales Price" class="oe_inline" widget='monetary'
+ <field name="list_price" class="oe_inline" widget='monetary'
options="{'currency_field': 'currency_id', 'field_digits': True}"/>
<button name="open_pricelist_rules" icon="fa-arrow-right" type="object"
groups="product.group_product_pricelist" class="oe_inline">