diff --git a/.travis.yml b/.travis.yml index ff612d45..d0499c6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ install: - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - - export WKHTMLTOPDF_VERSION=0.12.4 + - export WKHTMLTOPDF_VERSION=0.12.5 - travis_install_nightly script: diff --git a/report_wkhtmltopdf_param/README.rst b/report_wkhtmltopdf_param/README.rst index 045ea0a6..4745afd3 100644 --- a/report_wkhtmltopdf_param/README.rst +++ b/report_wkhtmltopdf_param/README.rst @@ -73,6 +73,7 @@ Contributors * Miku Laitinen * Jordi Ballester * Saran Lim. +* Foram Shah Maintainers ~~~~~~~~~~~ diff --git a/report_wkhtmltopdf_param/__manifest__.py b/report_wkhtmltopdf_param/__manifest__.py index 8feafbce..72886882 100644 --- a/report_wkhtmltopdf_param/__manifest__.py +++ b/report_wkhtmltopdf_param/__manifest__.py @@ -4,7 +4,7 @@ # noinspection PyStatementEffect { "name": "Report Wkhtmltopdf Param", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "license": "AGPL-3", "summary": """ Add new parameters for a paper format to be used by wkhtmltopdf diff --git a/report_wkhtmltopdf_param/models/report_paperformat_parameter.py b/report_wkhtmltopdf_param/models/report_paperformat_parameter.py index 4a9d4030..2e5defc1 100644 --- a/report_wkhtmltopdf_param/models/report_paperformat_parameter.py +++ b/report_wkhtmltopdf_param/models/report_paperformat_parameter.py @@ -9,7 +9,9 @@ class ReportPaperformatParameter(models.Model): _description = "wkhtmltopdf parameters" paperformat_id = fields.Many2one( - "report.paperformat", "Paper Format", required=True, + "report.paperformat", + "Paper Format", + required=True, ) name = fields.Char( @@ -18,4 +20,6 @@ class ReportPaperformatParameter(models.Model): help="The command argument name. Remember to add prefix -- or -", ) - value = fields.Char("Value",) + value = fields.Char( + "Value", + ) diff --git a/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst b/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst index dd791268..b8786d85 100644 --- a/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst +++ b/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst @@ -1,3 +1,4 @@ * Miku Laitinen * Jordi Ballester * Saran Lim. +* Foram Shah diff --git a/report_wkhtmltopdf_param/tests/test_report_paperformat.py b/report_wkhtmltopdf_param/tests/test_report_paperformat.py index d7a27fc7..412b636e 100644 --- a/report_wkhtmltopdf_param/tests/test_report_paperformat.py +++ b/report_wkhtmltopdf_param/tests/test_report_paperformat.py @@ -4,10 +4,10 @@ import odoo.tests from odoo.exceptions import ValidationError +from odoo.tests.common import tagged -@odoo.tests.common.at_install(False) -@odoo.tests.common.post_install(True) +@tagged("post_install", "-at_install") class TestWkhtmltopdf(odoo.tests.TransactionCase): def test_wkhtmltopdf_incorrect_parameter(self): for report_paperformat in self.env["report.paperformat"].search([]):