refactoring (action management is now applied in root widget)

This commit is contained in:
Géry Debongnie
2019-03-04 12:52:14 +01:00
parent 0983ff0d24
commit 3a761da764
12 changed files with 75 additions and 196 deletions
+1 -3
View File
@@ -4,9 +4,7 @@
<div t-name="web.web_client" class="o_web_client">
<t t-widget="Navbar" t-props="{inHome:state.inHome,app:state.currentApp}" />
<t t-widget="HomeMenu" t-if="state.inHome" t-keep-alive="1" t-props="{menuInfo:props.menuInfo}" />
<t t-else="1">
<t t-widget="ActionContainer" t-props="{stack:state.stack}" t-keep-alive="1"/>
</t>
<div class="o_content" t-att-class="state.inHome ? 'o_hidden' : ''" t-ref="content"/>
<div class="o_notification_container" t-ref="notification_container"/>
<div class="o_loading d-none" t-ref="loading_indicator">Loading</div>
</div>