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