changeset 18b565122b16 in modules/account_tax_cash:default details: https://hg.tryton.org/modules/account_tax_cash?cmd=changeset&node=18b565122b16 description: Send only the required fields when fetching a readonly view definition
issue11134 review380081002 diffstat: account.py | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diffs (21 lines): diff -r 9643d0c79176 -r 18b565122b16 account.py --- a/account.py Wed Apr 06 23:37:42 2022 +0200 +++ b/account.py Fri Apr 08 19:07:12 2022 +0200 @@ -131,8 +131,7 @@ ], states={ 'invisible': ~Eval('on_cash_basis', False), - }, - depends=['company', 'on_cash_basis']) + }) @classmethod def default_on_cash_basis(cls): @@ -222,7 +221,6 @@ states={ 'invisible': Eval('type') != 'in', }, - depends=['type'], help="The tax group reported on cash basis for this invoice.") @fields.depends('party', 'type')