Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
12561 Visualizzazioni

print image in rml file

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore Risposta migliore

you can add image at specific location using this,

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4639
1
mar 15
7057
1
mar 15
4475
0
mar 15
4987
1
mar 15
9286