Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6261 มุมมอง

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?