Skip to Content
Menu
This question has been flagged
3 Replies
12285 Zobrazenia

print image in rml file

Avatar
Zrušiť
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
Zrušiť
Autor Best Answer

you can add image at specific location using this,

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

Avatar
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 15
4401
1
mar 15
6703
1
mar 15
4198
0
mar 15
4730
1
mar 15
8999