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:
d524b95
)
[FIX] res_config: don't jump to first root menu after applying changes, instead reloa...
author
Martin Trigaux
<mat@openerp.com>
Fri, 25 Oct 2013 15:46:57 +0000
(17:46 +0200)
committer
Martin Trigaux
<mat@openerp.com>
Fri, 25 Oct 2013 15:46:57 +0000
(17:46 +0200)
bzr revid: mat@openerp.com-
20131025154657
-fk7t72hl9cns2279
openerp/addons/base/res/res_config.py
patch
|
blob
|
history
diff --git
a/openerp/addons/base/res/res_config.py
b/openerp/addons/base/res/res_config.py
index
861931b
..
a36c70d
100644
(file)
--- a/
openerp/addons/base/res/res_config.py
+++ b/
openerp/addons/base/res/res_config.py
@@
-99,13
+99,10
@@
class res_config_configurable(osv.osv_memory):
res = next.action_launch(context=context)
res['nodestroy'] = False
return res
- # reload the client; open the first available root menu
- menu_obj = self.pool.get('ir.ui.menu')
- menu_ids = menu_obj.search(cr, uid, [('parent_id', '=', False)], context=context)
+
return {
'type': 'ir.actions.client',
'tag': 'reload',
- 'params': {'menu_id': menu_ids and menu_ids[0] or False},
}
def start(self, cr, uid, ids, context=None):