<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
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
0
sty 24
|
39 | ||
|
4
cze 23
|
3276 | ||
Change existing xpath expression in Odoo
Rozwiązane
|
|
1
lis 18
|
8467 | |
|
1
lip 18
|
7725 | ||
XPath Check if element exist
Rozwiązane
|
|
1
sie 16
|
10012 |