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

Hi, 

I have a mail template and I can successfully send the email to the customer, but I need to set the sender email address for each customer language. Basically, if the customer language is German, I need to set a different email address. (I use amazon SES and have multiple sender addresses, only on Odoo I dont know how to configure this part)

Below is my mail template just so you have an idea.

Thanks, 

<odoo>

<data noupdate="1">
<record id="tracking_number" model="mail.template">
<field name="name">Send Tracking Number to Customer</field>
<field name="email_from">${object.company_id and object.company_id.email or ''}</field>
<field name="subject">Package Sent</field>
<field name="email_to">${object.email|safe}</field>
<field name="lang">${object.lang}</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="auto_delete" eval="True"/>
<field name="body_html">
<![CDATA[
<p>Dear ${(object.name)},<br/><br/>
Your tracking number is ${(object.reference)}<br/><br/>
${(object.company_id.name)}
]]>
</field>
</record>
</data>
</odoo> 
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
2月 25
1375
1
11月 24
2220
0
10月 23
40
1
5月 23
3877
3
3月 23
7491