Skip to Content
Menú
This question has been flagged
2 Respostes
3463 Vistes

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
Descartar
Autor Best Answer

Solved by referencing the image from a custom module:

custom_module/static/images/logo.png

Avatar
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 25
2248
2
de jul. 25
7738
2
de jul. 25
4144
2
de jul. 25
3912
2
de juny 25
2530