diff --git a/addons/product/models/product.py b/addons/product/models/product.py index 46a2b242636..94f6d50a7bd 100644 --- a/addons/product/models/product.py +++ b/addons/product/models/product.py @@ -116,7 +116,8 @@ class ProductProduct(models.Model): help="This is the sum of the extra price of all attributes") lst_price = fields.Float( 'Sale Price', compute='_compute_product_lst_price', - digits=dp.get_precision('Product Price'), inverse='_set_product_price') + digits=dp.get_precision('Product Price'), inverse='_set_product_price', + help="The sale price is managed from the product template. Click on the 'Variant Prices' button to set the extra attribute prices.") default_code = fields.Char('Internal Reference', index=True) code = fields.Char('Internal Reference', compute='_compute_product_code') diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index fbacda80312..259e2c4b19a 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -224,7 +224,8 @@ - + + @@ -310,6 +311,7 @@ lst_price + {'readonly': [('product_variant_count', '>', 1)]}