コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3395 ビュー

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

アバター
破棄
最善の回答
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.
アバター
破棄
関連投稿 返信 ビュー 活動
2
2月 24
4608
2
1月 24
10356
1
5月 23
2302
1
3月 21
9813
0
1月 19
7335