تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
7369 أدوات العرض

Hello,

What is the difference between partner_to and email_to in email.template?

and when i should use email_to instead of partner_to?


Thanks.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Hello Nishant,

Thanks to replay. 

my xml code look like this (each email separated by comma):

<field name="email_to">${(object.user_id.email or '')|safe}, ${(object.partner_id.email or '')|safe}</field>

When launching the email template form, the email address is visible in recipients fields (it's look like everything is ok - there are two email destination)

The problem is, only the last email address that receive email

الصورة الرمزية
إهمال
الكاتب

Problem solved, I removed the whitespace after email address separator (comma).

أفضل إجابة

Hello,

email_to:

Inside email_to you can enter email addresses saperated by comma.

partner_to:

Inside partner_to you need to enter partner ID saperated with comma so email will be send to email address of enterd partner IDS.

Hope this will be helpful.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 23
1598
1
مايو 22
2530
0
مايو 21
2440
2
يناير 25
1070
0
يونيو 23
2285