Event OCA Days 2022 - Liège starts on October 10, 2022 at 8:30:00 AM +0200
Dynamic Reports - Lets Odoo users build reports
10/11/22, 10:30 AM - 10/11/22, 11:00 AM (+0200) (30 minutes)

Dynamic Reports - Lets Odoo users build reports
Tom Blauwendraat Owner / Lead Developer  at Sunflower IT https://sunflowerweb.nl tom@sunflowerweb.nl +31616798193

Tom has been an Odoo developer for the last 8 years with the Sunflower IT team. Recently this team merged with the Therp team, of which Nikos is a developer since 4 years.

A module was designed by me and colleague Nikos Tsirintanis, that allows Odoo users to create a report on any model without the need of a developer. Report content is a sequence of Jinja-capable HTML template blocks. Each block can be conditionally shown or hidden by evaluation of an Odoo domain or a Python expression. Aliases can be defined as shorthand expressions to more complicated ones. As the original requirement was for generating contracts, it also includes a macro for automatic section numbering (1.1, 1.2, 1.2.1 etc). For usage, the module adds a "More.." server action to generate the report from the record's form view. If multiple templates match the record, it pops up to let the user choose which one.