[FIX] web: webclient_bootstrap: render the menus when the user is really a user
authorSimon Lejeune <sle@openerp.com>
Mon, 8 Sep 2014 12:00:42 +0000 (14:00 +0200)
committerSimon Lejeune <sle@openerp.com>
Mon, 8 Sep 2014 13:42:10 +0000 (15:42 +0200)
commit74aa7406bf1cd1794f9832ed36141482f7ff9353
tree7994f72526b4fbc1986ae4b825a5c575c29bb444
parent7558e2e786f34e38dbf324ba24644e6ef0e5bc52
[FIX] web: webclient_bootstrap: render the menus when the user is really a user

The webclient rendering is done in two parts: the server renders the boilerplates
including the menus, and then the  javascript launch the webclient using the
server-side boilerplates. In some case, we want to render the boilerplates but not
the menus (auth_calendar). Added groups around the t-call to the menu in the web
template. Fixes issue #2044.
addons/web/views/webclient_templates.xml