Skip to content

Commit

Permalink
[14.0][MIG]report_wkhtmltopdf_param
Browse files Browse the repository at this point in the history
  • Loading branch information
fshah-initos authored and yankinmax committed Feb 20, 2023
1 parent 8ecdb3b commit 354e42d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions report_wkhtmltopdf_param/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ Contributors
* Miku Laitinen <[email protected]>
* Jordi Ballester <[email protected]>
* Saran Lim. <[email protected]>
* Foram Shah <[email protected]>

Maintainers
~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion report_wkhtmltopdf_param/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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",
)
1 change: 1 addition & 0 deletions report_wkhtmltopdf_param/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Miku Laitinen <[email protected]>
* Jordi Ballester <[email protected]>
* Saran Lim. <[email protected]>
* Foram Shah <[email protected]>
4 changes: 2 additions & 2 deletions report_wkhtmltopdf_param/tests/test_report_paperformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([]):
Expand Down

0 comments on commit 354e42d

Please sign in to comment.