Odoo Help

0

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

By
yopi
on 5/15/15, 4:51 AM 877 views

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.

0
yopi
On 5/15/15, 6:57 AM

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).

yopi
on 5/18/15, 3:30 AM
0
Nishant Jogi
On 5/15/15, 6:41 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/15/15, 4:51 AM
Seen: 877 times
Last updated: 5/18/15, 9:57 PM