Skip to Content
Menu
This question has been flagged
3 Replies
11960 Views

print image in rml file

Avatar
Discard
Best Answer

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>
Avatar
Discard
Author Best Answer

you can add image at specific location using this,

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

Avatar
Discard
Best Answer

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)

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 15
4135
1
Mar 15
6250
1
Mar 15
3852
0
Mar 15
4427
1
Mar 15
8646