تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6121 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

Hello rmc zeyneb,

Please find code in comment. 

I Hope this will help you. 

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

الصورة الرمزية
إهمال

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>

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 24
8890
0
نوفمبر 23
3308
0
يوليو 22
9
0
أكتوبر 22
3239
1
أغسطس 22
4781