Ensure active_ids is always a list

issue11088
review395191003
This commit is contained in:
Cédric Krier committed 2022-01-03 22:48:18 +01:00
1 parent 642870837e
commit efa034004a
1 file changed
+1 -1
+1 -1
View File
@@ -104,7 +104,7 @@ class Action(object):
ctx = {
'active_model': data.get('model'),
'active_id': data.get('id'),
'active_ids': data.get('ids', []),
'active_ids': data.get('ids') or [],
}
ctx.update(rpc.CONTEXT)
ctx['_user'] = rpc._USER