changeset 788c4407d62e in modules/account_move_line_grouping:default
details:
https://hg.tryton.org/modules/account_move_line_grouping?cmd=changeset&node=788c4407d62e
description:
Send only the required fields when fetching a readonly view definition
issue11134
review380081002
diffstat:
account.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 089cc0379729 -r 788c4407d62e account.py
--- a/account.py Wed Apr 06 23:37:41 2022 +0200
+++ b/account.py Fri Apr 08 19:07:12 2022 +0200
@@ -30,7 +30,7 @@
context={
'company': Eval('company', -1),
},
- depends=['company'])
+ depends={'company'})
maturity_date = fields.Date("Maturity Date", readonly=True)
debit = Monetary(
@@ -62,7 +62,7 @@
context={
'company': Eval('company', -1),
},
- depends=['company']),
+ depends={'company'}),
'get_move_field', searcher='search_move_field')
period = fields.Function(fields.Many2One(
'account.period', "Period"),