[IMP] report_qweb_pdf_watermark: black, isort, prettier

pull/478/head
fshah 2021-01-29 15:30:18 +05:30
parent 929e2309a4
commit 1f23e335ec
5 changed files with 11 additions and 3 deletions

View File

@ -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",

View File

@ -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")

View File

@ -1,3 +1,4 @@
# generated from manifests external_dependencies
PyPDF2
xlrd
xlsxwriter

View File

@ -0,0 +1 @@
../../../../report_qweb_pdf_watermark

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)