Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3146 Weergaven

Hello,

Odoo V11 CE

I am using MUK Document QMS and I would like to send email to the users that can see that document.

I wrote this in my email template  ${object.groups.explicit_users.ids} and I get the id of the user, for example 8 and 11,  but i am not able to get the email,  how I can get now the emai?


Thank you

Avatar
Annuleer
Beste antwoord
For loop multiple value concat in email template.

object.field_name  if object res_users and field name "login" concat to get email. Otherwise field name change and apply.

Example In email template something like,

 ${','.join(v.login for v in object.groups.explicit_users)}

Or
Python create method to return multiple email and call the method in odoo template xml.
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jan. 24
4261
2
jan. 24
9942
1
mei 23
2023
1
mrt. 21
9496
0
jan. 19
7100