Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to add an image, which is in module's report folder into a report pageGraphics section, f.e.:
<pageGraphics> <image file="logo.gif" x="300" y="700"/> </pageGraphics>
Doing this results in:
IOError('File logo.gif cannot be found in image path\n handle_pageBegin args=()',)
Can it be done and how? Or should I better try put an image somewhere on page frame or table?
Do you see that the error refers to a file called
logo_first_crop.gif while your XML refers to a file called
Update : Have you tried using an absolute path like /something/logo.gif (or C:\something\logo.gif ) ?
Getting images to add to a report ...
I am not certain if this is applicable in your case, but it might help.
How to export real image not binary code
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
|Asked: 5/6/13, 10:58 AM|
|Seen: 3128 times|
|Last updated: 3/16/15, 8:10 AM|