mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] report_qweb_signer: reprint report crash
`render_qweb_pdf` must return a tuple of `(content, 'pdf')`
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user