跳至內容
選單
此問題已被標幟
2 回覆
9491 瀏覽次數

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?

作者 最佳答案

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

頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
3
12月 24
5770
0
10月 15
4057
3
9月 23
3372
0
9月 25
304
2
4月 25
2606