Skip to Content
Menu
This question has been flagged
2 Replies
7939 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>"

 

Avatar
Discard
Author

Anyone got a solution for this?

Author Best Answer

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

Avatar
Discard

Any idea on how to create a template the sends to to the related documents followers?

Related Posts Replies Views Activity
2
Oct 19
3882
0
Oct 15
2679
3
Sep 23
1584
1
Sep 24
242
0
Jul 24
218