Community mailing list archives

Re: Wkhtmltpdf measures problems

- 08/30/2016 13:35:07

you can see here i am posted my own problems as solution also

On Tue, Aug 30, 2016 at 10:52 PM, Brecht Verhaeghe <> wrote:



Are both servers the same or is it desktop v.s. server?

I used to have this problem when moving from production to server environments. Some fonts that i couldn’t find in the server environment or some libs that i forgot to pip install…

I started using Docker containers and now all my deployment problems are gone.


I develop inside a debugging container. This one creates a thin debugging layer on top of my odoo container.

If i need an extra library, i add it to the docker file and rebuild everything.


Met vriendelijke groeten,

Brecht Verhaeghe

Kranksoft GCV
tel 0497/46 07 27


Van: Yassine Teimi []
Verzonden: dinsdag 30 augustus 2016 18:13
Aan: Community <>
Onderwerp: Wkhtmltpdf measures problems



I've created a report with css using fixed measurments (not relative ones), so the purpose of this report is to create adress cards, used on the post office.

The problem is, when I fix adress cards height and width with pixels or centimeters, milimeters, it's considered differently from an odoo instance to another, knowing that the two have the same wkhtmltopdf version. It's like the one centimeter for wkhtmltopdf, is not the real one, that we know.

Is there anyone having the same problem ?

I'm using the more stable version : 0.12.1 on ubuntu 12.04 LTS 64 bit.







Yassine TEIMI


Consultant & Odoo Project Manager

TEL : +212 6-87 71 41 18

Post to:

Post to:

Thanks & Regards
OM Prakash Maurya
ERP Developer
Bista Solutions Inc