Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3622 Weergaven

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
Annuleer
Auteur Beste antwoord

Solved by referencing the image from a custom module:

custom_module/static/images/logo.png

Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
sep. 25
2731
0
aug. 25
334
1
aug. 25
2378
2
jul. 25
8155
2
jul. 25
4592