Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2724 มุมมอง

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]

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 24
1139
First time Odoo user แก้ไขแล้ว
1
มี.ค. 24
4254
1
ก.ค. 24
2108
1
ส.ค. 22
4605
2
ม.ค. 25
5490