Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
12372 Zobrazení

print image in rml file

Avatar
Zrušit
Nejlepší odpověď

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šit
Autor Nejlepší odpověď

you can add image at specific location using this,

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

Avatar
Zrušit
Nejlepší odpověď

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šit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
4481
1
bře 15
6828
1
bře 15
4286
0
bře 15
4831
1
bře 15
9111