تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6251 أدوات العرض

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?