Skip to Content
Menu
This question has been flagged
2 Replies
2557 Views

Hi all,

i know a lot of people that suffer from the lack off printing big report with the combinaison of odoo/wkhtmltopdf !! specialy for reports that exceed 1000 pages.


this occurs frequently when printing the general ledger for the entire year !

maybe we can think about another way to achieve that ? 

maybe using WeasyPrint or other ?


i issued the same issue under V9, V12, V13, V14, V15, V16 


Best regards.


Avatar
Discard
Best Answer

Hi Nabil,

My name is Nicolas, and I'm part of the team maintaining Odoo's fork of wkhtmltopdf. We definitely understand the frustrations with printing large reports in Odoo. It's a challenging issue we've been working to address with our fork: https://github.com/odoo/wkhtmltopdf

Why can't we use solution X instead of wkhtmltopdf?

You're right that alternative solutions like WeasyPrint and others exist. We've carefully evaluated these options, but unfortunately, they often introduce their own limitations:

  • Proprietary software: Some solutions are closed-source, limiting our ability to customize and integrate them effectively with Odoo.
  • Performance: Alternative tools might be slower or demand significantly more system resources, which can impact Odoo's overall performance.
  • Feature compatibility: wkhtmltopdf supports a specific set of features that are essential for Odoo's reporting. Not all solutions offer the same level of compatibility.

Our Commitment

We're aware that wkhtmltopdf isn't perfect, but we're dedicated to improving it. Our active development aims to address issues like large report generation. While finding the ideal replacement is difficult, we're constantly exploring potential solutions and optimizations.

Thank you for bringing this issue to our attention.

Have a nice day,

Nicolas

Avatar
Discard

This is aging really well...

Best Answer

Hi,
I have not used this app personally yet, but you can try it out and see if it can help you in printing the large reports:  https://apps.odoo.com/apps/modules/16.0/wkhtmltopdf_large_pdf/

Thanks

Avatar
Discard

While this solution might work in some use cases, it will break page numbering and layout in most cases