Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
12079 Visualizações

print image in rml file

Avatar
Cancelar
Melhor resposta

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
Cancelar
Autor Melhor resposta

you can add image at specific location using this,

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
4254
1
mar. 15
6418
1
mar. 15
3974
0
mar. 15
4511
1
mar. 15
8764