Commit b6ab2f26 authored by Cédric Krier's avatar Cédric Krier
Browse files

Add help text about price selection of product

Closes #8950
parent 18b36a433c20
Pipeline #61665 passed with stages
in 13 minutes and 41 seconds
......@@ -55,8 +55,10 @@
('product_default', "Product Default"),
], "Unit", required=True,
help="The unit in which the quantity is expressed.")
lines = fields.One2Many('product.price_list.line', 'price_list', 'Lines',
help="Add price formulas for different criterias.")
lines = fields.One2Many(
'product.price_list.line', 'price_list', "Lines",
help="Add price formulas for different criteria.\n"
"The first matching line is used.")
@staticmethod
def default_company():
......
......@@ -280,8 +280,10 @@
depends={'company'})
name = fields.Char("Name", translate=True)
code = fields.Char("Code")
prices = fields.One2Many('purchase.product_supplier.price',
'product_supplier', 'Prices')
prices = fields.One2Many(
'purchase.product_supplier.price', 'product_supplier', "Prices",
help="Add price for different criteria.\n"
"The last matching line is used.")
company = fields.Many2One(
'company.company', "Company",
required=True, ondelete='CASCADE')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment