Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
12548 Vistas

print image in rml file

Avatar
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

you can add image at specific location using this,

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

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
4630
1
mar 15
7051
1
mar 15
4467
0
mar 15
4976
1
mar 15
9267