How to add company logo to email templates? Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
3
返信
19404
ビュー
Gmail, and probably many other emails, do NOT support base64 images, you have to use a url, like:
https://your-website.com/web/image/res.company/${object.company_id.id}/logo?width=180" style="height: auto; width: 180px;" alt="${object.company_id.name}"/>
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
1
2月 24
|
2903 | ||
|
1
7月 23
|
3815 | ||
|
1
2月 22
|
6521 | ||
|
0
8月 21
|
2777 | ||
|
3
8月 20
|
6905 |
Hi, if I use ${object.company_id.logo} then the character ascii code of the logo image appears. How can I do to make the logo image appear instead? Thanks
<p><img src=" data:image/png;base64, ${object.company_id.logo}" height="100px" width="100px"/></p>