Modified check if module gotenberg installed

This commit is contained in:
alexandr.uritskiy 2022-03-24 12:45:20 +05:00
parent 98556d2459
commit 765d683a63

View File

@ -127,7 +127,7 @@ class IrActionsReport(models.Model):
pdf_content = ( pdf_content = (
self._get_pdf_from_office(docx_content) self._get_pdf_from_office(docx_content)
if check_gotenberg_installed() if gotenberg_imported and check_gotenberg_installed()
else None else None
) )