Fix states keyword
Fix error introduced on 70d4e3e9a178 review5371002
This commit is contained in:
1 parent
80ce95116a
commit
b8a107d2e0
1 file changed
+1
-1
+1
-1
@@ -63,7 +63,7 @@ class SaleOpportunity(Workflow, ModelSQL, ModelView):
|
||||
currency_digits = fields.Function(fields.Integer('Currency Digits'),
|
||||
'get_currency_digits')
|
||||
amount = fields.Numeric('Amount', digits=(16, Eval('currency_digits', 2)),
|
||||
STATES=_STATES_STOP, depends=_DEPENDS_STOP + ['currency_digits'],
|
||||
states=_STATES_STOP, depends=_DEPENDS_STOP + ['currency_digits'],
|
||||
help='Estimated revenue amount')
|
||||
payment_term = fields.Many2One('account.invoice.payment_term',
|
||||
'Payment Term', states={
|
||||
|
||||
Reference in new issue
Block a user