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
12193 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
4355
1
mar 15
6594
1
mar 15
4123
0
mar 15
4673
1
mar 15
8935