diff --git a/report_qweb_pdf_watermark/__manifest__.py b/report_qweb_pdf_watermark/__manifest__.py index c4a246d0..2a90a7c7 100644 --- a/report_qweb_pdf_watermark/__manifest__.py +++ b/report_qweb_pdf_watermark/__manifest__.py @@ -2,12 +2,12 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Pdf watermark", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "author": "Therp BV, " "Odoo Community Association (OCA)", "license": "AGPL-3", "category": "Technical Settings", "summary": "Add watermarks to your QWEB PDF reports", - "website": "https://github.com/oca/reporting-engine", + "website": "https://github.com/OCA/reporting-engine", "depends": ["web"], "data": [ "demo/report.xml", diff --git a/report_qweb_pdf_watermark/models/report.py b/report_qweb_pdf_watermark/models/report.py index 39e4e9d2..8a98ca89 100644 --- a/report_qweb_pdf_watermark/models/report.py +++ b/report_qweb_pdf_watermark/models/report.py @@ -17,7 +17,7 @@ except ImportError: logger = getLogger(__name__) try: - from PyPDF2 import PdfFileWriter, PdfFileReader # pylint: disable=W0404 + from PyPDF2 import PdfFileReader, PdfFileWriter # pylint: disable=W0404 from PyPDF2.utils import PdfReadError # pylint: disable=W0404 except ImportError: logger.debug("Can not import PyPDF2") diff --git a/requirements.txt b/requirements.txt index c208f5bc..ff06475e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ # generated from manifests external_dependencies +PyPDF2 xlrd xlsxwriter diff --git a/setup/report_qweb_pdf_watermark/odoo/addons/report_qweb_pdf_watermark b/setup/report_qweb_pdf_watermark/odoo/addons/report_qweb_pdf_watermark new file mode 120000 index 00000000..8100cd0d --- /dev/null +++ b/setup/report_qweb_pdf_watermark/odoo/addons/report_qweb_pdf_watermark @@ -0,0 +1 @@ +../../../../report_qweb_pdf_watermark \ No newline at end of file diff --git a/setup/report_qweb_pdf_watermark/setup.py b/setup/report_qweb_pdf_watermark/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/report_qweb_pdf_watermark/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)