Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6256 Lượt xem

Hiii

I want to insert image(Logo) in report.

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

Thanks Jack

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>
Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

Thanks You So Much.

Tác giả

How can i adjust image in report.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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