Odoo Help

Welcome!

This community 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.

0

how to add a image (which is not stored in database) in my reports?

By
Sampath Kumar S
on 11/12/13, 7:08 AM 907 views

Hi...

I'm creating a new module and i need to add images to my reports which are not present in my database... can anyone please help me out?

Thanks.........

1

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 11/13/13, 8:50 AM

Hello Sampath Kumar,

If your image is stored at folder then you can give path of the image in rml.

Ex:

<image file="/home/my_image/my_image.png" x="6" y="0" width="21.5cm" height="21.5cm"/>

Hope this will solve your problem.

Thanks,

Serpent Consulting Services.

Thanks for your reply... but should my image file path start from the corresponding rml file folder or the complete path of the image folder should be given.......in the sense if my rml file is in accounts/reports folder and my image is in accounts/images folder then the path should be given as accounts/images or the complete path C:/....../addons/accounts/images

Sampath Kumar S
on 11/14/13, 6:51 AM

I recommend to put the image in your module under image folder and then give path accordingly.

Serpent Consulting Services Pvt. Ltd.
on 11/14/13, 7:13 AM

Thanks alot Sir,..... It worked...!!! and I've a problem in printing my invoices sir its says loading and it does'nt download atal sir the rml file is the below dropbox link https://www.dropbox.com/s/5excp2sfkp5z2nv/account_print_invoice.rml

Sampath Kumar S
on 11/14/13, 7:26 AM

Hello Sir, my rml question link is http://help.openerp.com/question/36515/im-not-able-to-print-my-account-invoice/ please help me out in this....!

Sampath Kumar S
on 11/14/13, 7:52 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/12/13, 7:08 AM
Seen: 907 times
Last updated: 3/16/15, 8:10 AM