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

We have configured a couple of email templates for our employees to use in the CRM app.

When sending out emails using the template there is no signature attached to the mailing.

How can we setup our email so its contains the signature that is set under users>preferences>email signature

We are using a .jpg file as signature

アバター
破棄
著作者 最善の回答

is this a line we can add in the email template?

what exactly does "in Event model" mean ?

アバター
破棄
最善の回答

You can use the user account linked with the model you are working on and get the signature, for Example, in Event model you can get it in email template as below:


<t t-if="object.event_id.user_id.signature">
<br />
<t t-out="object.event_id.user_id.signature or ''">--<br/>Mitchell Admin</t>
</t>


odoo/mail_template_data.xml at 15.0 · odoo/odoo (github.com)

アバター
破棄
関連投稿 返信 ビュー 活動
2
2月 25
3230
4
8月 24
8734
1
8月 22
2790
1
4月 25
4301
2
7月 24
2360