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
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
3
Odpovědi
19297
Zobrazení
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!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
Email Template subject parameters
Vyřešeno
|
|
1
úno 24
|
2769 | |
|
1
čvc 23
|
3650 | ||
Failed to render template
Vyřešeno
|
|
1
úno 22
|
6408 | |
|
0
srp 21
|
2705 | ||
|
3
srp 20
|
6779 |
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>