Odoo Help


Put image not in database shows error

on 2/27/14, 1:48 AM 1,456 views

I try to put checkbox-unchecked.png image file into the report of purchase_requisition here is my code:

  <image file="img/checkbox-unchecked.png" x="10cm" y="10cm"/>

The folder of the image file is located in the path addons/purchase_requisition/report/img/checkbox-unchecked.png And i'm using windows 7.

The error shows:

cannot identify image file
fileName=<open file u'C:\\Program Files (x86)\\OpenERP 7.0-20140221-003045\\Server\\server\\openerp\\addons\\purchase_requisition\\report\\img\\checkbox-unchecked.png', mode 'r' at 0x042D6D30> identity=[ImageReader@0x675fe90 filename=u'C:\\Program Files (x86)\\OpenERP 7.0-20140221-003045\\Server\\server\\openerp\\addons\\purchase_requisition\\report\\img\\checkbox-unchecked.png']
handle_pageBegin args=()

(<type 'exceptions.IOError'>, IOError("cannot identify image file\nfileName=<open file u'C:\\\\Program Files (x86)\\\\OpenERP 7.0-20140221-003045\\\\Server\\\\server\\\\openerp\\\\addons\\\\purchase_requisition\\\\report\\\\img\\\\checkbox-unchecked.png', mode 'r' at 0x042D6D30> identity=[ImageReader@0x675fe90 filename=u'C:\\\\Program Files (x86)\\\\OpenERP 7.0-20140221-003045\\\\Server\\\\server\\\\openerp\\\\addons\\\\purchase_requisition\\\\report\\\\img\\\\checkbox-unchecked.png']\n handle_pageBegin args=()",), <traceback object at 0x06DE7C38>)

Anyone has anyidea? Thank you very much

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

0 follower(s)


Asked: 2/27/14, 1:48 AM
Seen: 1456 times
Last updated: 3/16/15, 8:10 AM