Skip to content

[13.0][ADD] report_dynamic - Lets Odoo users build reports#591

Open
thomaspaulb wants to merge 28 commits into
OCA:13.0from
sunflowerit:13.0-report_dynamic
Open

[13.0][ADD] report_dynamic - Lets Odoo users build reports#591
thomaspaulb wants to merge 28 commits into
OCA:13.0from
sunflowerit:13.0-report_dynamic

Conversation

@thomaspaulb
Copy link
Copy Markdown

@thomaspaulb thomaspaulb commented Feb 23, 2022

This new module 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.
  • Multiple templates can exists per each model, and a domain expression can be defined on each template to define on which records it should apply. If the server action is called on a record and multiple report templates match the record, a popup comes to let the user choose which template to use.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs fixing no stale Use this label to prevent the automated stale action from closing this PR/Issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.