[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:
Divyesh Makwana (Open ERP) 2011-10-31 11:58:46 +05:30
parent 2c9f642aac
commit 0c592f7b01
1 changed files with 1 additions and 5 deletions

View File

@ -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