changeset 11744871bc21 in modules/country:default
details: https://hg.tryton.org/modules/country?cmd=changeset&node=11744871bc21
description:
Send only the required fields when fetching a readonly view definition
issue11134
review380081002
diffstat:
country.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 3e7052f84a97 -r 11744871bc21 country.py
--- a/country.py Wed Apr 06 23:37:42 2022 +0200
+++ b/country.py Fri Apr 08 19:07:13 2022 +0200
@@ -241,7 +241,6 @@
domain=[
('country', '=', Eval('country', -1)),
],
- depends=['country'],
help="Add subdivision below the parent.")
@classmethod
@@ -303,7 +302,6 @@
subdivision = fields.Many2One('country.subdivision', 'Subdivision',
select=True, ondelete='CASCADE',
domain=[('country', '=', Eval('country', -1))],
- depends=['country'],
help="The subdivision where the postal code is.")
postal_code = fields.Char('Postal Code')
city = fields.Char(