changeset f6ed7136940d in modules/account_tax_rule_country:default details: https://hg.tryton.org/modules/account_tax_rule_country?cmd=changeset&node=f6ed7136940d description: Send only the required fields when fetching a readonly view definition
issue11134 review380081002 diffstat: account.py | 2 -- purchase.py | 1 - sale.py | 1 - 3 files changed, 0 insertions(+), 4 deletions(-) diffs (41 lines): diff -r 26dc4a373841 -r f6ed7136940d account.py --- a/account.py Wed Apr 06 23:37:42 2022 +0200 +++ b/account.py Fri Apr 08 19:07:12 2022 +0200 @@ -41,7 +41,6 @@ states={ 'invisible': ~Eval('from_country'), }, - depends=['from_country'], help="Apply only to addresses in this subdivision.") to_country = fields.Many2One( 'country.country', 'To Country', ondelete='RESTRICT', @@ -54,7 +53,6 @@ states={ 'invisible': ~Eval('to_country'), }, - depends=['to_country'], help="Apply only to addresses in this subdivision.") diff -r 26dc4a373841 -r f6ed7136940d purchase.py --- a/purchase.py Wed Apr 06 23:37:42 2022 +0200 +++ b/purchase.py Fri Apr 08 19:07:12 2022 +0200 @@ -15,7 +15,6 @@ for field in (cls.invoice_address, cls.warehouse): field.states['readonly'] |= ( Eval('lines', [0]) & Eval('invoice_address')) - field.depends.extend(['invoice_address']) class Line(metaclass=PoolMeta): diff -r 26dc4a373841 -r f6ed7136940d sale.py --- a/sale.py Wed Apr 06 23:37:42 2022 +0200 +++ b/sale.py Fri Apr 08 19:07:12 2022 +0200 @@ -15,7 +15,6 @@ for field in (cls.shipment_party, cls.shipment_address, cls.warehouse): field.states['readonly'] |= ( Eval('lines', [0]) & Eval('shipment_address')) - field.depends.extend(['shipment_address']) class Line(metaclass=PoolMeta):