Odoo Help

0

How to list all followers in the body of the email?

By
P.V.Anthony
on 2/23/15, 1:52 PM 703 views

When we send out emails using odoo, the emails do not list the followers in the CC.

Each follower gets an email. The other followers do not know who are getting the emails.

Is there a way to automatically list all the followers in the body of the email? I was wondering if there is a placeholder that can be used in the email template that list all the followers. For example like,

"This email is copied to the following:
Name01 <email@address>
Name02 <email2@address>
Name03 <email3@address>"

 

Anyone got a solution for this?

P.V.Anthony
on 1/11/17, 1:42 AM
0
P.V.Anthony
On 2/28/17, 1:15 PM

Got the answer from the following website's comments.

http://www.odoo.yenthevg.com/creating-mail-templates/

Here is the code to be placed in the email template.

% for follower in object.message_follower_ids:
${follower.name} ${follower.email}% endfor

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: 2/23/15, 1:52 PM
Seen: 703 times
Last updated: 2/28/17, 1:15 PM