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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
3
Replies
19178
Views
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}"/>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Feb 24
|
2582 | ||
|
1
Jul 23
|
3467 | ||
Failed to render template
Solved
|
|
1
Feb 22
|
6215 | |
|
0
Aug 21
|
2591 | ||
|
3
Aug 20
|
6557 |
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>