Browse Source

Merge pull request #184 from novawish/fix_pdftk_report_fill_pdf

[FIX] Fix error when having report_fill_pdf without installing pdftk
pull/225/head
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
01263a9532
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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 from fdfgen import forge_fdf
EXTERNAL_DEPENDENCY_BINARY_PDFTK = tools.find_in_path('pdftk') EXTERNAL_DEPENDENCY_BINARY_PDFTK = tools.find_in_path('pdftk')
except (ImportError, IOError) as err: 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): class ReportFillPDFAbstract(models.AbstractModel):

Loading…
Cancel
Save