Don't set datas in return of wizard if there is no actions
This commit is contained in:
1 parent
37d4045eef
commit
bb510e19b6
1 file changed
+2
-1
@@ -178,7 +178,8 @@ class Wizard(object):
|
||||
actions_res.update(action_res)
|
||||
|
||||
res = copy.copy(result_def)
|
||||
res['datas'] = actions_res
|
||||
if state_def.get('actions'):
|
||||
res['datas'] = actions_res
|
||||
|
||||
lang = context.get('language', 'en_US')
|
||||
if result_def['type'] == 'action':
|
||||
|
||||
Reference in new issue
Block a user