implement store, refactoring

This commit is contained in:
Géry Debongnie
2019-02-19 20:47:21 +01:00
parent 6ce1af636d
commit 7f3886ebba
20 changed files with 376 additions and 467 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
<templates id="template" xml:space="preserve">
<div t-name="web.web_client" class="o_web_client">
<t t-widget="Navbar" t-props="{inHome:state.inHome,app:state.currentApp}" t-on-toggle_home_menu="toggleHome" t-on-open_menu="openMenu"/>
<t t-widget="Navbar" t-props="{inHome:state.inHome,app:state.currentApp}" />
<t t-if="state.inHome">
<t t-widget="HomeMenu" t-keep-alive="1" t-props="{menuInfo:props.menuInfo}" t-on-open_menu="openMenu"/>
<t t-widget="HomeMenu" t-keep-alive="1" t-props="{menuInfo:props.menuInfo}" />
</t>
<t t-else="1">
<t t-widget="ActionContainer" t-props="{stack:state.stack}" t-keep-alive="1"/>