[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:
Olivier Dony 2012-02-04 01:14:04 +01:00
parent 4840e5cf87
commit 1e2b11a7b2
1 changed files with 1 additions and 1 deletions

View File

@ -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