[FIX]: res.config: fixed problem of wizard stays in a background even if we call next wizard

bzr revid: rpa@tinyerp.com-20110630114726-42uphvk2cwlgia6x
This commit is contained in:
Rucha (Open ERP) 2011-06-30 17:17:26 +05:30
parent 249117a25c
commit ba8fd3884c
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ class res_config_configurable(osv.osv_memory):
next = self._next_action(cr, uid)
self.__logger.info('next action is %s', next)
if next:
return next.action_launch(context=context)
res = next.action_launch(context=context)
res.update({'nodestroy': False})
return res
self.__logger.info('all configuration actions have been executed')
current_user_menu = self.pool.get('res.users').browse(cr, uid, uid).menu_id