Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
12071 Visninger

print image in rml file

Avatar
Kassér
Bedste svar

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
Kassér
Forfatter Bedste svar

you can add image at specific location using this,

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

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 15
4249
1
mar. 15
6413
1
mar. 15
3972
0
mar. 15
4507
1
mar. 15
8755