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

print image in rml file

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

put in rml file

        <image x="1.3cm" y="27.6cm" height="40.0" >[[ **class-object.image** ]]</image>

or may use like this

        <image x="1.3cm" y="27.6cm" height="40.0"  file ="/module/image.format"> [</image>
อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

you can add image at specific location using this,

<image file="../report/image_name.format" width="5cm" height="3cm"/>

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

Keep in mind that for OpenERP to print images, you report must be set to external mode. Internal mode report don't go trough the image processing. (Found this the hard way after hours of debugging)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4254
What is RML image file path in Openerp แก้ไขแล้ว
1
มี.ค. 15
6418
1
มี.ค. 15
3974
0
มี.ค. 15
4510
1
มี.ค. 15
8763