Set default value for pyson_domain
This commit is contained in:
1 parent
eeb0c8c8fb
commit
4e21fb716e
1 file changed
+1
-2
@@ -122,8 +122,7 @@ class Action(object):
|
||||
elif action.get('view_id', False):
|
||||
view_ids = [action['view_id'][0]]
|
||||
|
||||
if not action.get('domain', False):
|
||||
action['domain'] = '[]'
|
||||
action.setdefault('pyson_domain', '[]')
|
||||
ctx = {
|
||||
'active_id': datas.get('id',False),
|
||||
'active_ids': datas.get('ids',[]),
|
||||
|
||||
Reference in new issue
Block a user