İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2803 Görünümler

Hi!


My master gave me the exercise to modify the email template of module digest in Odoo 16. He said me to create a new module that inherit the module digest and modify the email template without change the original one.

Will someone help me ?

Avatar
Vazgeç
En İyi Yanıt

Hi,

You can inherit the view as following:

<odoo>


    <data>


        <template id="my_digest_module.digest_mail_main" inherit_id="digest.digest_mail_main">


            <xpath expr="//div[@class='o_mail_summary']" position="after">


                <!-- Add your custom HTML here -->


            </xpath>


        </template>


    </data>


</odoo>


Regards

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Mar 24
4003
1
Mar 23
2887
1
Şub 24
2510
3
Kas 24
4329
1
Tem 23
3416