1

I'd like show a picture in my qweb report. When I copy i.e. from the website_quote modul to my xml file this line: <img src="/website_quote/static/src/img/partner_icon_01.png"/> it works fine, but if I copy the partner_icon_01.png file to my module directory, and change the line: <img src="/my_module/static/src/img/partner_icon_01.png"/>, the picture doesn't appear in my report. Any help would be appreciated.

Cheers: Janos

enter image description here

VígJAni
  • 193
  • 1
  • 2
  • 10

1 Answers1

2

Try the following code and check

 <img class="img img-responsive" src="/sale_order_report/static/src/img/header.jpg"/>

This will working fine from my side also follow the below link

Click to See the Reference Link

I hope this should helpful for you ...! :)

Community
  • 1
  • 1
DASADIYA CHAITANYA
  • 2,850
  • 3
  • 18
  • 41
  • It works if I put image in /my_module/static/src/img/ folder, but doesn't in /my_module/img/ folder. Only works if I use the filename extension (like png). Works whithout "class img......" – VígJAni May 10 '15 at 21:12