• Tek Siong, Hock

Odoo Qweb Report to show image Google Drive hosted image

Sometimes, due to your Odoo server setting, you are not able to display the image in the Odoo Qweb Report.


A quick solution is to upload the image to the google drive (make sure you share to all), and display the google drive image link.

<img t-attf-src="https://drive.google.com/uc?export=view&amp;id=118dn3fZi1DILRmocfqIXZWEc6PT-dNyk"
     height="100px" width="200px"/>

Note: You can also show the image in the Odoo email template with the google drive image.

19 views0 comments