Odoo Help


Picture in report

Coralie Cardon
on 2/9/16, 9:06 AM 624 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"


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;}"/


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.


Odoo Training Center

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

Test it now

Question tools

1 follower(s)


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