[FIX] menus handling in case user has no menu_id
authorXavier Morel <xmo@openerp.com>
Thu, 9 Feb 2012 08:35:54 +0000 (09:35 +0100)
committerXavier Morel <xmo@openerp.com>
Thu, 9 Feb 2012 08:35:54 +0000 (09:35 +0100)
commitfda65c7c69566e50a60b5f6d3ca7f213fedc3ec8
treeba1ba1d8f1fb6705a866f16cb6c251a7780e6299
parent0e2e9ddd78be24d65ab37424478c994053e5457d
[FIX] menus handling in case user has no menu_id

also add comments to explain some strange-looking code's behavior

bzr revid: xmo@openerp.com-20120209083554-2b8d8qlzz8y9fhan
addons/web/controllers/main.py