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:
4840e5c
)
[FIX] typo in menu loading code changed in previous revision
author
Olivier Dony
<odo@openerp.com>
Sat, 4 Feb 2012 00:14:04 +0000
(
01:14
+0100)
committer
Olivier Dony
<odo@openerp.com>
Sat, 4 Feb 2012 00:14:04 +0000
(
01:14
+0100)
lp bug: https://launchpad.net/bugs/926408 fixed
bzr revid: odo@openerp.com-
20120204001404
-82kaxklke0olehko
addons/web/controllers/main.py
patch
|
blob
|
history
diff --git
a/addons/web/controllers/main.py
b/addons/web/controllers/main.py
index
df12f52
..
7b17b6f
100644
(file)
--- a/
addons/web/controllers/main.py
+++ b/
addons/web/controllers/main.py
@@
-695,7
+695,7
@@
class Menu(openerpweb.Controller):
:rtype: dict('children': menu_nodes)
"""
root_children = self.do_load_level(req)
- root_menu = {'id': False, 'name': 'root', 'parent_id': [-1, ''], 'children' : children }
+ root_menu = {'id': False, 'name': 'root', 'parent_id': [-1, ''], 'children': root_children}
return root_menu
@openerpweb.jsonrequest