Skip to Content
Menu
This question has been flagged
4 Replies
3832 Views

Hello everyone, 


the company logo is missing on my proposal and invoice PDFs. I've already uploaded the logo.png via settings > company > document layout. wkhtmltopdf 0.12.5 is also installed. I am Odoo Community 16.0. Does anyone know why the logo won't show?

Avatar
Discard
Best Answer

Hi,

Firstly, please check the version of wkhtmltopdf installed on your system by using the following terminal command:wkhtmltopdf --version

 To get the header and footer in the PDF reports the wkhtmltopdf with patched qt needs to be available,ie, For example:When you check the version of wkhtmltopdf like the example below, The output should include (with patched qt) along with the version number, like this:

wkhtmltopdf 0.12.5 (with patched qt)


Hope it helps

Avatar
Discard
Best Answer

Same problem. odoo 17 original docker.


edit: OK, I found that some styling combinations are supported by web preview, but not rendered by the PDF engine. In my case it was class="mw-100 mh-100"​ for the logo

Avatar
Discard
Author Best Answer

Thank you! Unfortunately this did not fix it. 

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 22
3140
1
Dec 22
4692
0
Sep 15
3814
0
Mar 15
3024
0
Jan 25
417