Skip to content

Commit

Permalink
[FIX] account: fix wrong call to super()
Browse files Browse the repository at this point in the history
closes #76696

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
  • Loading branch information
oco-odoo committed Sep 16, 2021
1 parent f96c78f commit a6ce728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/models/ir_actions_report.py
Expand Up @@ -44,4 +44,4 @@ def render_qweb_pdf(self, res_ids=None, data=None):
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)

0 comments on commit a6ce728

Please sign in to comment.