From 64fd92ec43942e52682977b25a1f8ee6662495fd Mon Sep 17 00:00:00 2001 From: david Date: Tue, 16 Jun 2020 07:28:26 +0200 Subject: [PATCH] [FIX] report_qweb_signer: reprint report crash `render_qweb_pdf` must return a tuple of `(content, 'pdf')` --- report_qweb_signer/models/ir_actions_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_qweb_signer/models/ir_actions_report.py b/report_qweb_signer/models/ir_actions_report.py index 9f0d0615..483c8cb4 100644 --- a/report_qweb_signer/models/ir_actions_report.py +++ b/report_qweb_signer/models/ir_actions_report.py @@ -143,7 +143,7 @@ class IrActionsReport(models.Model): "The signed PDF document '%s/%s' was loaded from the " "database", self.report_name, res_ids, ) - return signed_content + return signed_content, 'pdf' content, ext = super(IrActionsReport, self).render_qweb_pdf(res_ids, data) if certificate: