Skip to Content
Menu
This question has been flagged
3 Replies
2933 Views

My company logo looks great on the forms but when I preview an invoice in the customer portal our company logo is extremely blurry. I have tried using different size images, including images that we use for large prints. 

Avatar
Discard

May be problem of wkhtmltopdf version

Best Answer

Hi Lauren Plantas,

I believe you should you the class= "img-fluid" it takes the image in the same resolution as it is and adjust the image properly as the original size.

Here is a example of code used in xml:

<field name = "Name_of_field" widget= "image" class = "img-fluid"/>

Thanks.

Avatar
Discard
Best Answer

Hi Lauren Plantas,

I beleve that your logo size is 1 * 2 or 1 * 3 or 1 * 4, or above,

odoo always try to make the image as squer. try a 1 * 1 image. then chec

Regards,
Nikhilkrishnan

Avatar
Discard