Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2805 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
мар. 24
4003
1
мар. 23
2887
1
февр. 24
2510
3
нояб. 24
4329
1
июл. 23
3416