From 1e2b11a7b25561e9f2b1242c746ec1205648d9c1 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Sat, 4 Feb 2012 01:14:04 +0100 Subject: [PATCH] [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 --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index df12f52be67..7b17b6f16ef 100644 --- 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