Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3401 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Solved by referencing the image from a custom module:

custom_module/static/images/logo.png

Imagine profil
Abandonează
Cel mai bun răspuns

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. 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 25
1344
2
iul. 25
7052
2
iul. 25
3414
2
iul. 25
3145
2
iun. 25
1847