Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
3184 Ansichten

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
Verwerfen
Autor Beste Antwort

Solved by referencing the image from a custom module:

custom_module/static/images/logo.png

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juni 25
1547
0
Mai 25
13
1
Dez. 24
6763
1
Nov. 24
3157
1
Nov. 24
2335