Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
12537 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
4624
1
bře 15
7043
1
bře 15
4460
0
bře 15
4972
1
bře 15
9262