[FIX] account: fix wrong call to super()

closes odoo/odoo#76898

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
oco-odoo
2021-09-24 14:00:00 +00:00
parent 8a7990735d
commit 46ab490c5d
+1 -1
View File
@@ -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)