Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
12085 Widoki

print image in rml file

Awatar
Odrzuć
Najlepsza odpowiedź

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>
Awatar
Odrzuć
Autor Najlepsza odpowiedź

you can add image at specific location using this,

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

Awatar
Odrzuć
Najlepsza odpowiedź

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)

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
4258
1
mar 15
6419
1
mar 15
3977
0
mar 15
4518
1
mar 15
8768