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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3
Trả lời
19400
Lượt xem
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}"/>
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Email Template subject parameters
Đã xử lý
|
|
1
thg 2 24
|
2887 | |
|
1
thg 7 23
|
3806 | ||
Failed to render template
Đã xử lý
|
|
1
thg 2 22
|
6502 | |
|
0
thg 8 21
|
2762 | ||
|
3
thg 8 20
|
6897 |
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>