[FIX] base_setup: the main application wizard must trigger chart of account wizardS
lp bug: https://launchpad.net/bugs/876260 fixed bzr revid: mdi@tinyerp.com-20111031062846-ssnmkajidgd1dlvb
This commit is contained in:
parent
2c9f642aac
commit
0c592f7b01
|
@ -310,12 +310,8 @@ class base_setup_installer(osv.osv_memory):
|
|||
if need_update:
|
||||
cr.commit()
|
||||
self.pool = pooler.restart_pool(cr.dbname, update_module=True)[1]
|
||||
return self.pool.get('res.config').next(cr, uid, [], context=context)
|
||||
|
||||
if 'html' in context:
|
||||
return {'type' : 'ir.actions.reload'}
|
||||
else:
|
||||
return {'type' : 'ir.actions.act_window_close'}
|
||||
return self.pool.get('res.config').next(cr, uid, [], context=context)
|
||||
|
||||
#Migrate data from another application Conf wiz
|
||||
|
||||
|
|
Loading…
Reference in New Issue