تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4627 أدوات العرض

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