Odoo Help

2

0
6 Answers
1
Avatar

Yogesh India

--Yogesh--

1069
| 5 3 10
Delhi, India
--Yogesh--

Nothing to say .... :)

Yogesh India
10/6/14, 5:27 PM

Insert the tag in template

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

4 Comments
ajeeb India
10/17/14, 8:18 AM

Can you tell me how to add static image to the template?

Yogesh India
10/17/14, 8:19 AM

You can add just like stated above.

Ivan Elizaryev Russian Federation
12/17/14, 5:26 PM

There is a problem with a such type of image. Some email service or email clients doesn't show such images.

CatsandDogs India
3/4/16, 1:29 AM

Is it working for odoo 9? I tried this in odoo 9 but in mail image is not loaded. It shows some broken icon.

0
Krushndevsinh Jadeja India
10/12/18, 2:33 AM

This would be better way to get image on email template.

<img t-attf-src="data:image/*;base64,{{company.logo}}" t-att-alt="company.name"/>
Ask a Question
Keep Informed
2 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now