Odoo Help


How to insert image into the excel report?

on 2/17/16, 2:29 AM 758 views

Hello Folks,

I have been creating an excel report, and want to use product images into the same report. I have used the code: worksheet.insert_image(stat_row+1, 0, order_line.product_id.image_small, {'x_scale': 0.9, 'y_scale': 0.6}) to insert the image into excel sheet created. But it fails to insert the image.

Can anyone helps me to know the same? I have many order lines for my sales orders and want images for all the products.

Many thanks in advance.

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/17/16, 2:29 AM
Seen: 758 times
Last updated: 2/17/16, 3:30 AM