Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
12080 Vues

print image in rml file

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Auteur Meilleure réponse

you can add image at specific location using this,

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
mars 15
4254
1
mars 15
6418
1
mars 15
3974
0
mars 15
4511
1
mars 15
8764