跳至內容
選單
此問題已被標幟
4000 瀏覽次數

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>

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
10月 16
5748
0
2月 25
1201
1
11月 24
2053
8
7月 24
23060
2
1月 24
4257