Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
9482 Visualizzazioni

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
Abbandona
Autore

Anyone got a solution for this?

Autore Risposta migliore

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
3
dic 24
5763
0
ott 15
4054
3
set 23
3367
0
set 25
301
2
apr 25
2601