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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
3
Replies
19311
Tampilan
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}"/>
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Email Template subject parameters
Diselesaikan
|
|
1
Feb 24
|
2790 | |
Nothing rendered into email body_html (Odoo 16)
Diselesaikan
|
|
1
Jul 23
|
3675 | |
Failed to render template
Diselesaikan
|
|
1
Feb 22
|
6428 | |
|
0
Agu 21
|
2717 | ||
|
3
Agu 20
|
6811 |
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>