diff options
| author | Christophe Simonis <chs@openerp.com> | 2011-01-20 17:03:47 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@openerp.com> | 2011-01-20 17:03:47 +0100 |
| commit | c1a6deb9680397e99777e4d2bb7e65998f2a30e7 (patch) | |
| tree | 04eb4a505b05e4b2f106942ecdb02113d222c9fc /bin | |
| parent | 5b08fe4d6d54cd51ab02aa52bcf806dceec19b52 (diff) | |
[FIX] base: res.config.installer replace the self.pool when restarting it
bzr revid: chs@openerp.com-20110120160347-05prosbwh4iwnbrw
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/addons/base/res/res_config.py | 2 |
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 '\ |
