Remove implicit field names in ModelStorage.search_read

review285801003
issue8569
This commit is contained in:
Nicolas Évrard committed 2019-11-15 11:57:15 +01:00
1 parent 62bd140006
commit 3c167bf702
1 file changed
+1 -2
+1 -2
View File
@@ -55,8 +55,7 @@ class Action(object):
action, = RPCExecute('model', 'ir.action', 'read', [act_id],
['type'], context=context)
action_type = action['type']
action, = RPCExecute('model', action_type, 'search_read',
[('action', '=', act_id)], 0, 1, None, None,
action, = RPCExecute('model', action_type, 'fetch_action', act_id,
context=context)
if keyword:
keywords = {