Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4711 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

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

Tác giả

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

Tác giả

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....!