[FIX] base: resolve failure installation wizard

bzr revid: hmo@tinyerp.com-20100708073354-ahtsmlz4qxh1wk5x
This commit is contained in:
Harry (OpenERP) 2010-07-08 13:03:54 +05:30
parent 44df347f10
commit 6665bb83a7
1 changed files with 1 additions and 0 deletions

View File

@ -411,6 +411,7 @@ class res_config_installer(osv.osv_memory):
cr, uid,
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)
res_config_installer()