Skip to Content

Odoo 19 - PaperMuncher: Odoo's Next-Generation PDF Engine

Written by Thibault Paillon
October 1, 2025 by
Odoo 19 - PaperMuncher: Odoo's Next-Generation PDF Engine
Emma Lenaerts (ele)

Web and High-Quality Prints

After years of reliance on the aging wkhtmltopdf library, Odoo is developing a modern replacement called PaperMuncher. This new PDF generation engine promises to address long-standing limitations, particularly regarding support for modern HTML and CSS.

The Architecture of PaperMuncher : Turning Web Pages into Beautiful Prints

With PaperMuncher, Odoo is revolutionizing PDF generation by offering modern and accurate rendering of web pages. Optimized for HTML and CSS, this engine promises to turn your documents into aesthetic prints, while improving performance and flexibility.

Designed for Performance

PaperMuncher is a custom browser engine written in C++, specifically designed for rendering documents. The development team ensured that the codebase remains clean with a remarkably low line count, making it easier to maintain and optimize. Unlike wkhtmltopdf, which is based on an outdated version of WebKit, PaperMuncher was designed from the ground up with modern web standards in mind.

Smarter Rendering

One of PaperMuncher's key innovations lies in its tree-based logic, optimizing both speed and memory usage when generating documents. This architectural approach is expected to significantly reduce layout-breaking and CSS rendering issues that have affected wkhtmltopdf users for years, particularly when working with modern CSS features like flexbox and grid layout.

Versatile Output

While primarily focused on PDF generation, PaperMuncher is designed to be versatile. The engine can generate not only PDF files but also SVG files and various image formats, offering flexibility for different use cases.

Availability

Il est important de noter que PaperMuncher est actuellement en version alpha. L’équipe a confirmé qu’il ne sera pas inclus dans Odoo 19, avec une sortie officielle prévue pour Odoo 20 ou 21. Ce calendrier permet de réaliser des tests approfondis et des ajustements avant le déploiement en production.C'est également une bonne raison d'anticiper dès maintenant votre projet de migration vers la V19, afin d'être en position optimale pour adopter PaperMuncher dès sa sortie officielle.

Conclusion

The development of PaperMuncher represents a significant investment to improve one of Odoo's core features, with the potential to solve a persistent problem for developers and users.

Learn more about the author of the article:

Thibault Paillon

Developer

Thibault has been a developer at Nalios Wallonie for 7 months. With his background as a graphic designer, he loves taking care of your needs for interface changes or custom reports tailored to your business logic.

Commencez à écrire ici ...