Odoo Help


This community 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.


Picture in report

Coralie Cardon
on 2/9/16, 9:06 AM 274 views

Hello ! 

I try to put a picture in my report but i just have the square with this position

my code <img class="image" src="image/image.png"




| 7 7 8
Turnhout, Belgium

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

On 2/9/16, 2:18 PM

Hi Coco,

Judging by the code you're trying to show an image on a report which is inside your module, correct? You should also specify the name of your module in this case:

<img class="image" src="/your_module_name/image/image.png"/>

If you want to follow the official rules your image should be in /static/src/img by the way!
And just in case you want to show an image that is coming from within your database / model:

<span t-field="yourFieldName" t-field-options="{&quot;widget&quot;: &quot;image&quot;, &quot;class&quot;: &quot;img-rounded&quot;}"/


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/9/16, 9:06 AM
Seen: 274 times
Last updated: 2/10/16, 2:48 AM