summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2011-01-20 17:27:37 +0100
committerChristophe Simonis <chs@openerp.com>2011-01-20 17:27:37 +0100
commit247b1247ab168a4a2d265f01c825548601b81cc4 (patch)
tree188caa729d61f8de62300f4b69b474cb44dcdca5 /bin
parent91e26e7b1bc4eb05bb22c20a1984c508907ff3d6 (diff)
[merge from trunk][FIX] base: res.config.installer replace the self.pool when restarting it
bzr revid: chs@openerp.com-20110120162737-yceq133ev7ncdbsp
Diffstat (limited to 'bin')
-rw-r--r--bin/addons/base/res/res_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/res/res_config.py b/bin/addons/base/res/res_config.py
index 9cdd75840bf..3f8c6f20b8d 100644
--- a/bin/addons/base/res/res_config.py
+++ b/bin/addons/base/res/res_config.py
@@ -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 '\