New features for the Py3o reporting engine

Akretion recently added one important feature to the Py3o reporting engine for Odoo. Py3o is a reporting engine for Odoo based on Libreoffice. It is part of the reporting-engine project of the Odoo Community Association (OCA). It is composed of 2 modules : report_py3o and report_py3o_fusion_server.

In Libreoffice Writer, when you export a document to PDF via the menu File > Export As > Export as PDF, you get a dialog box with a lot of options for the generation of the PDF:

undefined

With our contribution on the module report_py3o_fusion_server for Odoo v10, all these options are now available in Odoo, with similar names and layout:

undefined


So, by adding one technical feature to the Py3o reporting engine, we added a lot of new features to Odoo:

  • support for PDF forms,
  • support for the generation of PDF/A documents,
  • support for password-protected PDFs,
  • support for watermarked PDF,
  • etc.

If you already use Py3o on Odoo v10 and you want to benefit from this new feature, you need to update all the Py3o Python librairies that are installed on your system, update your code of OCA/reporting-engine and reload the module report_py3o_fusion_server. In Odoo, you will then see a new menu entry Settings > Technical > Reports > Py3o > Py3o PDF Export Options where you will be able to create several sets of PDF export options. One set of PDF export options can be associated with a report or with a Py3o server (in this case, it will apply on all the reports that are handled by this Py3o server).

At Akretion, we already deployed this new version of Py3o on several Odoo v10 servers in production. Our main use-case is to generate PDF/A documents for invoices, because, to have a fully compliant Factur-X invoice, the invoice must be in PDF/A format.

More technical information about this contribution:

  • the merged pull request on OCA/reporting-engine,
  • the ticket on the py3o.renderers.juno library.

Sobre o autor

Founder
Alexis de Lattre
Founder - France
Specialist in Odoo and free software
Alexis de Lattre is a co-founder of the French company Anevia, where he held the positions of Managing Director and Financial Director of Production and Logistics and Director of Computer Services. Anevia is a company with 40 employees and specializes in the development and sale of video server...

Esse site usa cookies para melhorar a sua experiência de navegação