콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4693 화면

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