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

Hiii

I want to insert image(Logo) in report.

So ,what i have to write in .py & .rml File.

Thanks Jack

頭像
捨棄
最佳答案

By <image> </image> tag in .rml file you can add image. For example you want to add image of company logo in report you can write like this in rml file:

<image x="1.3cm" y="26.0cm" height="90.0">[[company.logo or removeParentNode('image')]]</image>
頭像
捨棄
作者

Can we also have to write on .py file also

No. We don't need to write in py file to add image. This much is enough. There are some variables available we can write directly in rml or sxw file.

作者

Thanks You So Much.

作者

How can i adjust image in report.

最佳答案

By changing height or change in x axis & y axis you can adjust image in report.

頭像
捨棄

hi Keyur how to insert the product image in product pricelist can openerp 7.0 do it?