Odoo Help

0

Put image not in database shows error

By
GonG
on 2/27/14, 1:48 AM 1,154 views

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

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

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.

Register

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)

Stats

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