Hi,
I need to write an image to pdf as a header or other use. How can I do it
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I need to write an image to pdf as a header or other use. How can I do it
Hi,
Thanks for the quick reply, but actually this is not what I looking for.
in my case, I want to give a PDF file as input and I need to write a given image as the header of that PDF
Hi,
If you want to show an image from the database you can just use the image widget like this:
<span t-field="o.image_field_name" t-field-options='{"widget": "image"}'/>
And if you want to show an image stored as a file:
<img t-att-src="'/module_name/static/src/img/image_name.png'" />
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Hi,
check the similar forum post before
https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-add-images-in-the-pdf-reports-163920