format
This commit is contained in:
parent
6aa28edbd8
commit
22d7a2b462
@ -125,7 +125,9 @@ class IrActionsReport(models.Model):
|
||||
docx_content = self._render_docx(res_ids, data=data)
|
||||
|
||||
pdf_content = (
|
||||
self._get_pdf_from_office(docx_content) if check_gotenberg_installed() else None
|
||||
self._get_pdf_from_office(docx_content)
|
||||
if check_gotenberg_installed()
|
||||
else None
|
||||
)
|
||||
|
||||
if not pdf_content:
|
||||
|
Loading…
x
Reference in New Issue
Block a user