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

Hi,


How would I add all helpdesk team members as CC in a mail template (using only the frontend odoo 13 EE)?

It seem it is not possible to add a many2many directly to the mail_cc field as a placeholder like "${object.team_id.members_ids}.


I could maybe create a calculated field with all the email addresses?

any experience with that? Is there an easier way?


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Could get it working with:

${','.join(map(str, object.team_id.member_ids.mapped('email')))}
Ảnh đại diện
Huỷ bỏ

thank you @Yves.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 21
3060
0
thg 2 21
4275
0
thg 3 25
1579
0
thg 10 24
1524
1
thg 9 24
1661