跳至內容
選單
此問題已被標幟

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 ?

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
3月 24
4031
1
3月 23
2918
1
2月 24
2550
3
11月 24
4356
1
7月 23
3449