fix bugs:
* on configuration wizard , if no wizard found, return cancel action on continue button bzr revid: hmo@tinyerp.com-e8d800be8e16cd7cae4342311c765211225d4b46
This commit is contained in:
@@ -640,7 +640,7 @@ class module_configuration(osv.osv_memory):
|
||||
'type': 'ir.actions.act_window',
|
||||
'target':'new',
|
||||
}
|
||||
return {}
|
||||
return {'type':'ir.actions.act_window_close'}
|
||||
|
||||
def button_continue(self, cr, uid, ids, context=None):
|
||||
item_obj = self.pool.get('ir.module.module.configuration.step')
|
||||
@@ -657,7 +657,7 @@ class module_configuration(osv.osv_memory):
|
||||
'type': item.action_id.type,
|
||||
'target':item.action_id.target,
|
||||
}
|
||||
return {}
|
||||
return {'type':'ir.actions.act_window_close' }
|
||||
module_configuration()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user