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

I have created custom mail templates in mail.template model as below

    <record id="record_id" model="mail.template">

    <field name="name">Template</field>

    <field name="email_from">dummy@mail.com</field>

    <field name="subject">${object.name}</field>

    <field name="partner_to">${object.partner_id.id}</field>

    <field name="model_id" ref="project.model_project_task"/>

    <field name="auto_delete" eval="True"/>

    <field name="body_html" type="xml">


issue is that if partner have multiple email addresses they are all delivered but the receivers only sees as they are the only receivers. 


Same thing was also mentioned in the following post

https://www.odoo.com/fr_FR/forum/aide-1/multiple-email-addresses-on-template-115544


i have tried these options but its not working as required

    <field name="email_to">${object.partner_id.id}</field>

    <field name="email_to">dummy@mail1.com, dummy@mail2.com</field>

    <field name="partner_to">${object.partner_id.id}</field>

    <field name="partner_to">dummy@mail1.com, dummy@mail2.com</field>

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
окт. 16
5742
0
февр. 25
1199
1
нояб. 24
2043
8
июл. 24
23053
2
янв. 24
4253