Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2746 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
dic 24
1165
1
mar 24
4262
1
lug 24
2129
1
ago 22
4621
2
gen 25
5506