Browse Source

[FIX] Fix error when having report_fill_pdf without installing pdftk

pull/184/head
Duc Dao 7 years ago
parent
commit
d7a464adbe
  1. 4
      report_fillpdf/report/report_fill_pdf.py

4
report_fillpdf/report/report_fill_pdf.py

@ -15,8 +15,8 @@ try:
from fdfgen import forge_fdf
EXTERNAL_DEPENDENCY_BINARY_PDFTK = tools.find_in_path('pdftk')
except (ImportError, IOError) as err:
_logger.debug(err)
raise err
_logger.debug('Error while importing: %s.' % err)
EXTERNAL_DEPENDENCY_BINARY_PDFTK = ""
class ReportFillPDFAbstract(models.AbstractModel):

Loading…
Cancel
Save