CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
i wanted to print an image in a custom report created by me for crm.lead object.So it would be helpful if you could tell me how to do this...My field name for pic is x_pic and widget type is image..It is visible in webclient but not getting printed in PDF report..Any one plz help me..I tried with some codes which are available in net but nothing works..
if your are using rml report then
edit your rml file. Im using 'image_field' as the binary field.
<image>[[ obj.image_field or removeParentNode('image') ]]</image>
you can also specify the position
<image x="21.3cm" y="47.6cm" height="40.0" >[[ obj.image_field or removeParentNode('image') ]]</image>
About This Community
Odoo Training Center
|Asked: 4/23/13, 5:04 AM|
|Seen: 1124 times|
|Last updated: 3/16/15, 8:10 AM|