Help

0

Inherit from web.external_layout to change the header

Avatar
rmc zeyneb

I'am working with odoo 15 and I want to replace the current header with another. I tried to create a new template and I use t-call, however it not working. There is any solution?

Avatar
Discard
1Answer
0
Best Answer

Hello rmc zeyneb,

Please find code in comment. 

I Hope this will help you. 

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

1Comment
Avatar
Discard

Please used bellow code.

<template id="external_layout_inherited" inherit_id="web.external_layout">
<xpath expr="//div[hasclass('header')]" position="replace">
Add your new code.....
</xpath>
</template>