[FIX] typo in menu loading code changed in previous revision
lp bug: https://launchpad.net/bugs/926408 fixed bzr revid: odo@openerp.com-20120204001404-82kaxklke0olehko
This commit is contained in:
parent
4840e5cf87
commit
1e2b11a7b2
|
@ -695,7 +695,7 @@ class Menu(openerpweb.Controller):
|
||||||
:rtype: dict('children': menu_nodes)
|
:rtype: dict('children': menu_nodes)
|
||||||
"""
|
"""
|
||||||
root_children = self.do_load_level(req)
|
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
|
return root_menu
|
||||||
|
|
||||||
@openerpweb.jsonrequest
|
@openerpweb.jsonrequest
|
||||||
|
|
Loading…
Reference in New Issue