Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
9094 Lượt xem

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>"

 

Ảnh đại diện
Huỷ bỏ
Tác giả

Anyone got a solution for this?

Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 12 24
5218
0
thg 10 15
3667
3
thg 9 23
2960
2
thg 4 25
1859
0
thg 7 24
1070