changeset 678b281fb976 in modules/carrier_subdivision:default details: https://hg.tryton.org/modules/carrier_subdivision?cmd=changeset&node=678b281fb976 description: Send only the required fields when fetching a readonly view definition
issue11134 review380081002 diffstat: carrier.py | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diffs (19 lines): diff -r 8aa091c7af63 -r 678b281fb976 carrier.py --- a/carrier.py Wed Apr 06 23:37:42 2022 +0200 +++ b/carrier.py Fri Apr 08 19:07:13 2022 +0200 @@ -18,7 +18,6 @@ states={ 'invisible': ~Eval('from_country'), }, - depends=['from_country'], help="The subdivision the carrier collects from.\n" "Leave empty to allow collection from any subdivision.") from_postal_code = fields.Char("From Postal Code", @@ -34,7 +33,6 @@ states={ 'invisible': ~Eval('to_country'), }, - depends=['to_country'], help="The subdivision the carrier delivers to.\n" "Leave empty to allow delivery to any subdivision.") to_postal_code = fields.Char("To Postal Code",