[FIX] only render the navbar when website is set (ie not during tests of the reports)
This commit is contained in:
parent
20f4da67b3
commit
76039b2a37
|
@ -4,6 +4,7 @@
|
|||
<!-- Front-end/Back-end integration -->
|
||||
<template id="user_navbar" inherit_id="website.layout" groups="base.group_user">
|
||||
<xpath expr="//body/div['id=wrawrap']" position="before">
|
||||
<t t-if="website">
|
||||
<nav id="oe_main_menu_navbar" class="navbar navbar-inverse" role="navigation">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#oe_applications">
|
||||
|
@ -79,6 +80,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue