projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7068b
)
[FIX] display config after immediate install (if any)
author
Christophe Simonis
<chs@openerp.com>
Tue, 13 Dec 2011 11:44:42 +0000
(12:44 +0100)
committer
Christophe Simonis
<chs@openerp.com>
Tue, 13 Dec 2011 11:44:42 +0000
(12:44 +0100)
bzr revid: chs@openerp.com-
20111213114442
-tcyuyazfvfo868ul
openerp/addons/base/module/module.py
patch
|
blob
|
history
diff --git
a/openerp/addons/base/module/module.py
b/openerp/addons/base/module/module.py
index
05ad5fc
..
9f70f3e
100644
(file)
--- a/
openerp/addons/base/module/module.py
+++ b/
openerp/addons/base/module/module.py
@@
-330,6
+330,11
@@
class module(osv.osv):
self.state_update(cr, uid, ids, 'to install', ['uninstalled'], context)
cr.commit()
db, pool = pooler.restart_pool(cr.dbname, update_module=True)
+
+ config = pool.get('res.config').next(cr, uid, [], context=context)
+ if config:
+ return config
+
menu_ids = self.root_menus(cr,uid,ids,context)
if menu_ids:
action = {