diff --git a/report_substitute/models/ir_actions_report.py b/report_substitute/models/ir_actions_report.py index 32c31812..3cf091d1 100644 --- a/report_substitute/models/ir_actions_report.py +++ b/report_substitute/models/ir_actions_report.py @@ -36,5 +36,5 @@ class IrActionReport(models.Model): self.model, res_ids ) if substitution_report: - return substitution_report.render(res_ids) + return substitution_report.render(res_ids, data) return super().render(res_ids, data)