From 46ab490c5deee53455e4a71018a2164a0f762792 Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Thu, 16 Sep 2021 14:23:25 +0000 Subject: [PATCH] [FIX] account: fix wrong call to super() closes odoo/odoo#76898 Signed-off-by: Laurent Smet --- addons/account/models/ir_actions_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/ir_actions_report.py b/addons/account/models/ir_actions_report.py index f13f65e7301..ae6d74348f3 100644 --- a/addons/account/models/ir_actions_report.py +++ b/addons/account/models/ir_actions_report.py @@ -44,4 +44,4 @@ class IrActionsReport(models.Model): if any(not move.is_invoice(include_receipts=True) for move in moves): raise UserError(_("Only invoices could be printed.")) - return super().render_qweb_pdf(res_ids=res_ids, data=None) + return super().render_qweb_pdf(res_ids=res_ids, data=data)