From c1a6deb9680397e99777e4d2bb7e65998f2a30e7 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 20 Jan 2011 17:03:47 +0100 Subject: [PATCH] [FIX] base: res.config.installer replace the self.pool when restarting it bzr revid: chs@openerp.com-20110120160347-05prosbwh4iwnbrw --- bin/addons/base/res/res_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '\