report_substitute
This module enables the substitution of report actions with alternative reports based on specified conditions, allowing for dynamic report replacement in various scenarios such as per-company configurations.
Key Features
- reporting: Allows defining substitution rules for report actions to replace standard reports with alternatives when domain conditions are met.
- ir.actions.report: Extends report actions to include substitution rules that are evaluated during report generation.
- ir.actions.report.substitution.rule: Provides a model to create substitution rules with sequence ordering, domain filters, and target substitution reports.
- reporting: Prevents infinite loops in substitution chains to ensure system stability.
- reporting: Supports recursive substitutions where substituted reports can themselves have further substitutions.
- reporting: Integrates substitutions into report rendering processes for PDF and other formats.
- reporting: Applies substitutions in report action calls to dynamically select the appropriate report.
- mail.thread: Enables substitutions in email templates that include reports, ensuring consistent report usage in communications.