跳至內容
選單
此問題已被標幟
3 回覆
12109 瀏覽次數

print image in rml file

頭像
捨棄
最佳答案

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>
頭像
捨棄
作者 最佳答案

you can add image at specific location using this,

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

頭像
捨棄
最佳答案

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)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
4281
1
3月 15
6433
1
3月 15
4007
0
3月 15
4565
1
3月 15
8830