İçereği Atla
Menü
This question has been flagged
2 Cevaplar
2400 Görünümler

When sending emails the odoo logo is shown in the email and not the company logo.

I tried to change mail_notification_light and add:


< img t-att-src="'/logo.png?company=1'" /> 

OR
< img t-att-src="'http://.../web/image?model=res.company&id=1&field=logo'" /> 

OR
< img t-att-src="'image_data_uri(company.logo)'" />


None of them work correctly!

Thank you

Avatar
Vazgeç
Üretici Best Answer

Solved by referencing the image from a custom module:

custom_module/static/images/logo.png

Avatar
Vazgeç
Best Answer

May be you are using multiple DBs mapped to same domain. So the email template is not sure which logo to be displayed and from which DB. 

Avatar
Vazgeç
Related Posts Cevaplar Görünümler Aktivite
0
May 25
11
1
Ara 24
6091
1
Kas 24
2553
1
Kas 24
1899
2
Eyl 24
1725