Add help text

issue6729
review38581002
This commit is contained in:
Sergi Almacellas Abellana committed 2017-09-20 09:57:02 +02:00
1 parent 8ed1dc5784
commit e2a44d68ae
3 files changed
+3

No files matched your search

+1
View File
@@ -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)),
],
+1
View File
@@ -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)),
],
+1
View File
@@ -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')),