Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
7404 Переглядів

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лют. 23
1605
1
трав. 22
2567
0
трав. 21
2449
2
січ. 25
1091
0
черв. 23
2310