Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2795 Zobrazení

How do I write and use the equivalent of serverside includes in Odoo? <  include virtual="/templates/footer.asp" >

I've stared for days at this code without getting a clue! https://stackoverflow.com/questions/41855895/how-to-include-in-odoo

Please help me to complete the following code to something that that I can understand and that actually works! :-)

[code]module.localID
website.layout
myModule.layout
<template id="mLayout">
    <div>Header</div>
    <t t-raw="0" />
    <div>Footer</div>
</template>
<template id="myModule">
    <t call="mLayout">
    ... code

   </t>
</template>[/code]

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 24
1227
1
bře 24
4319
1
čvc 24
2189
1
srp 22
4735
2
led 25
5571