Send only the required fields when fetching a readonly view definition
issue11134 review380081002
This commit is contained in:
1 parent
cbafcb2c5c
commit
9d30f3b902
1 file changed
+2
-2
+2
-2
@@ -30,7 +30,7 @@ class MoveLineGroup(MoveLineMixin, ModelSQL, ModelView):
|
||||
context={
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
depends=['company'])
|
||||
depends={'company'})
|
||||
maturity_date = fields.Date("Maturity Date", readonly=True)
|
||||
|
||||
debit = Monetary(
|
||||
@@ -62,7 +62,7 @@ class MoveLineGroup(MoveLineMixin, ModelSQL, ModelView):
|
||||
context={
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
depends=['company']),
|
||||
depends={'company'}),
|
||||
'get_move_field', searcher='search_move_field')
|
||||
period = fields.Function(fields.Many2One(
|
||||
'account.period', "Period"),
|
||||
|
||||
Reference in new issue
Block a user