[FIX] web: restore missing groups since web refactoring

Commit 977db823c7 refactored the web module so that it gathers
common features of community and enterprise. The problem is that the
web.webclient_bootstrap template content lost its groups attributes.

This had the effect to make the client crash when accessing the
template for calendar invitation for example, as the template was
trying to render menus without menu data.
This commit is contained in:
qsm-odoo
2016-08-03 10:41:12 +02:00
parent a1e1e27ec8
commit b907c9654f
+2 -2
View File
@@ -422,7 +422,7 @@
</script>
</head>
<body class="o_web_client">
<nav id="oe_main_menu_navbar" class="navbar navbar-inverse">
<nav id="oe_main_menu_navbar" class="navbar navbar-inverse" groups="base.group_user,base.group_portal">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
@@ -435,7 +435,7 @@
</div>
</nav>
<div class="o_main">
<div class="o_sub_menu">
<div class="o_sub_menu" groups="base.group_user,base.group_portal">
<t t-call="web.menu_secondary"/>
</div>
<div class="o_main_content"/>