[merge from trunk][FIX] base: res.config.installer replace the self.pool when restarting it
bzr revid: chs@openerp.com-20110120162737-yceq133ev7ncdbsp
This commit is contained in:
parent
91e26e7b1b
commit
247b1247ab
|
@ -394,7 +394,7 @@ class res_config_installer(osv.osv_memory):
|
|||
modules.search(cr, uid, [('name','in',to_install)]),
|
||||
'to install', ['uninstalled'], context=context)
|
||||
cr.commit() #TOFIX: after remove this statement, installation wizard is fail
|
||||
pooler.restart_pool(cr.dbname, update_module=True)
|
||||
new_db, self.pool = pooler.restart_pool(cr.dbname, update_module=True)
|
||||
res_config_installer()
|
||||
|
||||
DEPRECATION_MESSAGE = 'You are using an addon using old-style configuration '\
|
||||
|
|
Loading…
Reference in New Issue