From 1dfa8c1bab65e84465f5b1d938cdb71ce1f3e768 Mon Sep 17 00:00:00 2001
From: Saran440
Date: Fri, 15 May 2020 11:52:40 +0700
Subject: [PATCH] [13.0][MIG] report_wkhtmltopdf_param
---
.travis.yml | 1 +
report_wkhtmltopdf_param/README.rst | 11 ++++++-----
report_wkhtmltopdf_param/__manifest__.py | 11 +++++------
report_wkhtmltopdf_param/models/report_paperformat.py | 2 +-
report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst | 1 +
.../static/description/index.html | 7 ++++---
6 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 6716bfade..c1b870504 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,6 +40,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
- travis_install_nightly
script:
diff --git a/report_wkhtmltopdf_param/README.rst b/report_wkhtmltopdf_param/README.rst
index 2c616a821..045ea0a63 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/12.0/report_wkhtmltopdf_param
+ :target: https://github.com/OCA/reporting-engine/tree/13.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-12-0/reporting-engine-12-0-report_wkhtmltopdf_param
+ :target: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-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/12.0
+ :target: https://runbot.odoo-community.org/runbot/143/13.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.
@@ -72,6 +72,7 @@ Contributors
* Miku Laitinen
* Jordi Ballester
+* Saran Lim.
Maintainers
~~~~~~~~~~~
@@ -86,6 +87,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 468883fc3..8feafbce8 100644
--- a/report_wkhtmltopdf_param/__manifest__.py
+++ b/report_wkhtmltopdf_param/__manifest__.py
@@ -4,19 +4,18 @@
# noinspection PyStatementEffect
{
"name": "Report Wkhtmltopdf Param",
- "version": "12.0.1.0.0",
+ "version": "13.0.1.0.0",
"license": "AGPL-3",
"summary": """
Add new parameters for a paper format to be used by wkhtmltopdf
command as arguments.
""",
- "author": "Avoin.Systems," "Eficent," "Odoo Community Association (OCA)",
- "website": "https://avoin.systems",
+ "author": "Avoin.Systems, Eficent, Odoo Community Association (OCA)",
+ "website": "https://github.com/OCA/reporting-engine",
"category": "Technical Settings",
- "depends": ["web",],
- "data": ["security/ir.model.access.csv", "views/paperformat.xml",],
+ "depends": ["web"],
+ "data": ["security/ir.model.access.csv", "views/paperformat.xml"],
"installable": True,
"auto_install": False,
"application": False,
- "active": False,
}
diff --git a/report_wkhtmltopdf_param/models/report_paperformat.py b/report_wkhtmltopdf_param/models/report_paperformat.py
index 65c15189a..4a71edd54 100644
--- a/report_wkhtmltopdf_param/models/report_paperformat.py
+++ b/report_wkhtmltopdf_param/models/report_paperformat.py
@@ -17,7 +17,7 @@ class Paper(models.Model):
"report.paperformat.parameter",
"paperformat_id",
"Custom Parameters",
- help="Custom Parameters passed forward as wkhtmltopdf " "command arguments",
+ help="Custom Parameters passed forward as wkhtmltopdf command arguments",
)
@api.constrains("custom_params")
diff --git a/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst b/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst
index 48c8fed4a..dd7912680 100644
--- a/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst
+++ b/report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst
@@ -1,2 +1,3 @@
* Miku Laitinen
* Jordi Ballester
+* Saran Lim.
diff --git a/report_wkhtmltopdf_param/static/description/index.html b/report_wkhtmltopdf_param/static/description/index.html
index 701add082..a35eb738f 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. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

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.
@@ -420,6 +420,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
@@ -429,7 +430,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.