Set default value for pyson_domain

This commit is contained in:
Cédric Krier committed 2010-01-21 21:26:31 +01:00
1 parent eeb0c8c8fb
commit 4e21fb716e
1 file changed
+1 -2
+1 -2
View File
@@ -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',[]),