Add help text
issue6729 review38581002
This commit is contained in:
1 parent
8ed1dc5784
commit
e2a44d68ae
3 files changed
+3
No files matched your search
@@ -14,6 +14,7 @@ class Configuration(CompanyMultiValueMixin):
|
||||
__name__ = 'sale.configuration'
|
||||
sale_price_list = fields.MultiValue(fields.Many2One(
|
||||
'product.price_list', "Sale Price List",
|
||||
help="The default price list for new parties.",
|
||||
domain=[
|
||||
('company', '=', Eval('context', {}).get('company', -1)),
|
||||
],
|
||||
|
||||
@@ -16,6 +16,7 @@ class Party(CompanyMultiValueMixin):
|
||||
__name__ = 'party.party'
|
||||
sale_price_list = fields.MultiValue(fields.Many2One(
|
||||
'product.price_list', "Sale Price List",
|
||||
help="The default price list for new sales.",
|
||||
domain=[
|
||||
('company', '=', Eval('context', {}).get('company', -1)),
|
||||
],
|
||||
|
||||
@@ -11,6 +11,7 @@ class Sale:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'sale.sale'
|
||||
price_list = fields.Many2One('product.price_list', 'Price List',
|
||||
help="Use to compute the unit price of lines.",
|
||||
domain=[('company', '=', Eval('company'))],
|
||||
states={
|
||||
'readonly': Or(Not(Equal(Eval('state'), 'draft')),
|
||||
|
||||
Reference in new issue
Block a user