1.07

v 15.0 Third Party 60
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 140
Technical Name fix_wkhtmltopdf
LicenseGPL-3
Websitehttps://github.com/YvanDotet
Versions 17.0 15.0 13.0 11.0 12.0 14.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 140
Technical Name fix_wkhtmltopdf
LicenseGPL-3
Websitehttps://github.com/YvanDotet
Versions 17.0 15.0 13.0 11.0 12.0 14.0 16.0

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.

TO-DO

Make sure to do this before using the fix_wkhtmltopdf module on your server

  1. 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
  2. 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 :
> sudo apt purge --autoremove fonts-noto-color-emoji --yes

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

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.
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 15

Credits

Authors

  • Yvan Dotet

Maintainers

  • This module is maintained by Yvan Dotet.

Contact

  • Mail address of Yvan Dotet : Yvandotet@yahoo.fr

  • website :

    1. https://github.com/YvanDotet
    2. https://be.linkedin.com/in/yvan-dotet-19ba67135

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.