<template id = "kwonboard_onboarding">
<t t-call="website.layout">
<xpath expr="//header" position="replace">
...
</xpath>
</t>
</template>
This code is not working. If you have any suggestion then do suggest.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
<template id = "kwonboard_onboarding">
<t t-call="website.layout">
<xpath expr="//header" position="replace">
...
</xpath>
</t>
</template>
This code is not working. If you have any suggestion then do suggest.
Hi Surya,
No need to replace using xpath, you just add your header using <header></header> and <footer></footer> it will automatic replace base header footer code. If you want to use your custom header-footer then no need to call website.layout.
Hope it will helpful for you.
Thanks and regards
Haresh Kansara
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
ene 24
|
39 | ||
|
4
jun 23
|
3272 | ||
|
1
nov 18
|
8466 | ||
|
1
jul 18
|
7721 | ||
XPath Check if element exist
Resuelto
|
|
1
ago 16
|
10008 |