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

We want to change the logo appearing in the quotation email sent to our customer when we  send an email directly from the quote in Sales module with the button 'Send by email'.

We've modified the Favicon with our company logo in 'Parameters/companies -> update info'. We have also modified the logo in object 'res.company'

Anyway, we have always the Odoo logo appearing in the email sent to the customer.

We use Odoo v15

Many thanks for your help

Imagine profil
Abandonează
Autor

Tag should be V15 in place of v16 ! Sorry fro the mistake in this post...

Cel mai bun răspuns

Hi,

You can try to use these codes in your templates

<p> <img src="data:image/png;base64,${object.company_id.logo}" style="width: 150px;height: 80px;" /> </p>

Gmail, and probably many other emails, do NOT support base64 images, you have to use a URL, like:

https://your-website.com/web/image/res.company/${object.company_id.id}/logo?width=180" style="height: auto; width: 180px;" alt="${object.company_id.name}"/>

Regards

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
ian. 24
4115
6
nov. 24
3189
3
nov. 23
1889
1
sept. 23
3067
1
sept. 23
2430