mirror of
https://gitlab.com/datalifeit/trytond-account_bank
synced 2023-12-14 06:23:07 +01:00
Don't assign on_change attribute directly as it's managed by on_change attribute
This commit is contained in:
parent
52da8d3c81
commit
ec313ba854
1 changed files with 0 additions and 1 deletions
|
@ -154,7 +154,6 @@ class Invoice(BankMixin):
|
|||
@classmethod
|
||||
def __setup__(cls):
|
||||
super(Invoice, cls).__setup__()
|
||||
cls.payment_type.on_change = ['payment_type', 'party']
|
||||
readonly = ~Eval('state').in_(['draft', 'validated'])
|
||||
previous_readonly = cls.bank_account.states.get('readonly')
|
||||
if previous_readonly:
|
||||
|
|
Loading…
Reference in a new issue