From bb819c0f5f9f6b353beb5908d794cf235eafd7ca Mon Sep 17 00:00:00 2001 From: Maksym Yankin Date: Mon, 20 Feb 2023 14:22:23 +0200 Subject: [PATCH] [MIG] report_wkhtmltopdf_param: Migration to 16.0 --- report_wkhtmltopdf_param/README.rst | 10 +++++----- report_wkhtmltopdf_param/__manifest__.py | 2 +- .../i18n/report_wkhtmltopdf_param.pot | 3 ++- report_wkhtmltopdf_param/models/report.py | 2 +- report_wkhtmltopdf_param/static/description/index.html | 6 +++--- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/report_wkhtmltopdf_param/README.rst b/report_wkhtmltopdf_param/README.rst index 70a8b082e..7dee94148 100644 --- a/report_wkhtmltopdf_param/README.rst +++ b/report_wkhtmltopdf_param/README.rst @@ -14,13 +14,13 @@ Report Wkhtmltopdf Param :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github - :target: https://github.com/OCA/reporting-engine/tree/15.0/report_wkhtmltopdf_param + :target: https://github.com/OCA/reporting-engine/tree/16.0/report_wkhtmltopdf_param :alt: OCA/reporting-engine .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_wkhtmltopdf_param + :target: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_wkhtmltopdf_param :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/143/15.0 + :target: https://runbot.odoo-community.org/runbot/143/16.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -54,7 +54,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -88,6 +88,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/reporting-engine `_ project on GitHub. +This module is part of the `OCA/reporting-engine `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/report_wkhtmltopdf_param/__manifest__.py b/report_wkhtmltopdf_param/__manifest__.py index 0f59f3bd1..10b050536 100644 --- a/report_wkhtmltopdf_param/__manifest__.py +++ b/report_wkhtmltopdf_param/__manifest__.py @@ -4,7 +4,7 @@ # noinspection PyStatementEffect { "name": "Report Wkhtmltopdf Param", - "version": "15.0.1.0.0", + "version": "16.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/i18n/report_wkhtmltopdf_param.pot b/report_wkhtmltopdf_param/i18n/report_wkhtmltopdf_param.pot index 96cc3b897..69aac42d3 100644 --- a/report_wkhtmltopdf_param/i18n/report_wkhtmltopdf_param.pot +++ b/report_wkhtmltopdf_param/i18n/report_wkhtmltopdf_param.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -39,6 +39,7 @@ msgid "Display Name" msgstr "" #. module: report_wkhtmltopdf_param +#. odoo-python #: code:addons/report_wkhtmltopdf_param/models/report_paperformat.py:0 #, python-format msgid "Failed to create a PDF using the provided parameters." diff --git a/report_wkhtmltopdf_param/models/report.py b/report_wkhtmltopdf_param/models/report.py index 8bf8f5e9e..77f90d9c6 100644 --- a/report_wkhtmltopdf_param/models/report.py +++ b/report_wkhtmltopdf_param/models/report.py @@ -17,7 +17,7 @@ class IrActionsReport(models.Model): set_viewport_size=False, ): # noinspection PyUnresolvedReferences,PyProtectedMember - command_args = super(IrActionsReport, self)._build_wkhtmltopdf_args( + command_args = super()._build_wkhtmltopdf_args( paperformat_id, landscape, specific_paperformat_args, set_viewport_size ) diff --git a/report_wkhtmltopdf_param/static/description/index.html b/report_wkhtmltopdf_param/static/description/index.html index 149843038..8e71f5870 100644 --- a/report_wkhtmltopdf_param/static/description/index.html +++ b/report_wkhtmltopdf_param/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runbot

This module allows you to add new parameters for a paper format which are then forwarded to wkhtmltopdf command as arguments. To display the arguments that wkhtmltopdf accepts go to your command line and type ‘wkhtmltopdf -H’.

@@ -403,7 +403,7 @@ add prefix – or -) and value.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -431,7 +431,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/reporting-engine project on GitHub.

+

This module is part of the OCA/reporting-engine project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.