[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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user