Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4517 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

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

ผู้เขียน

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

ผู้เขียน

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