Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 140 |
Technical Name |
fix_wkhtmltopdf |
License | GPL-3 |
Website | https://github.com/YvanDotet |
Versions | 11.0 12.0 13.0 14.0 15.0 16.0 17.0 18.0 |
fix_wkhtmltopdf
You can print 2000 pages in one PDF in a quick time. A progression will be display in the info log.
TO-DO
Make sure to do this before using the fix_wkhtmltopdf module on your server
-
It's first recommanded to set the limit of files that can be open on your server by using this command line : ulimit -n 1000000
-
Also increase the limit_time_cpu and limit_time_real of your odoo configuration file odoo.conf :
For example :- limit_time_cpu = 36000
- limit_time_real = 72000
Sometimes, you just need to uninstall the "noto-color-emoji" font to make wkhtmltopdf working :
Solve
Interface to follow the progression of the printing process.

When you print pdf, the log info will show up the progression of the printing process.
Remark
So if you don't need header and footer on your PDF, this is the best option.
Nevertheless, you can print the header and footer back by activating the button in the configuration panel.
This will greatly increase the printing time of the pdf.
![]() |
![]() |
Contact
- Author : Yvan Dotet
- Email : Yvandotet@yahoo.fr
- Webpage : https://github.com/YvanDotet
TO-DO
Before installing this app, it's first recommended to set the limit of files that can be open on your server by using this command line :
> ulimit -n 1000000
Also increase the limit_time_cpu and limit_time_real of your odoo configuration file odoo.conf :
For example :
limit_time_cpu = 36000
limit_time_real = 72000
fix_wkhtmltopdf
This module is used to print a lot of pages in a single PDF file without any errors like "buffer overflow" or "error code: -8".
You can print 2000 pages in one PDF in a quick time.
A progression will be display in the info log.
By default, the header and the footer will not be part of the final result to increase the speed process. So if you don't need header and footer on your PDF, this is the best option.
Nevertheless, you can print the header and footer back by activating the button in the configuration panel.
Usage
Go to "Settings" - Apps without any filters. Type "fix_wkhtmltopdf" into the search box.
Odoo version 13
Credits
Authors
- Yvan Dotet
Maintainers
- This module is maintained by Yvan Dotet.
Contact
Mail address of Yvan Dotet : Yvandotet@yahoo.fr
website :
- https://github.com/YvanDotet
- https://be.linkedin.com/in/yvan-dotet-19ba67135
Please log in to comment on this module