[FIX] report_qweb_signer: reprint report crash

`render_qweb_pdf` must return a tuple of `(content, 'pdf')`
pull/522/head
david 2020-06-16 07:28:26 +02:00 committed by Laurent-Corron
parent 9b3b488190
commit b99020ccf4
1 changed files with 1 additions and 1 deletions

View File

@ -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: