diff --git a/report_context/README.rst b/report_context/README.rst index 8d78e3c25..bfc2f63bc 100644 --- a/report_context/README.rst +++ b/report_context/README.rst @@ -14,13 +14,13 @@ Report Context :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_context + :target: https://github.com/OCA/reporting-engine/tree/13.0/report_context :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_context + :target: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_context :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,14 +54,13 @@ It can also be added on the developer side using:: YOUR CONTEXT HERE - 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. @@ -91,6 +90,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_context/__manifest__.py b/report_context/__manifest__.py index 8a5001e17..8210b9f8e 100644 --- a/report_context/__manifest__.py +++ b/report_context/__manifest__.py @@ -5,7 +5,7 @@ "name": "Report Context", "summary": """ Adding context to reports""", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/reporting-engine", diff --git a/report_context/models/ir_actions_report.py b/report_context/models/ir_actions_report.py index 84fcc305e..b22242c08 100644 --- a/report_context/models/ir_actions_report.py +++ b/report_context/models/ir_actions_report.py @@ -1,6 +1,6 @@ # Copyright 2019 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models +from odoo import fields, models from odoo.tools.safe_eval import safe_eval @@ -29,13 +29,11 @@ class IrActionsReport(models.Model): context.update(self.env.context) return context - @api.multi def render(self, res_ids, data=None): return super(IrActionsReport, self.with_context(self._get_context())).render( res_ids, data=data ) - @api.noguess def report_action(self, docids, data=None, config=True): return super( IrActionsReport, self.with_context(self._get_context()) diff --git a/report_context/static/description/index.html b/report_context/static/description/index.html index feb0724fd..76bd770c9 100644 --- a/report_context/static/description/index.html +++ b/report_context/static/description/index.html @@ -3,7 +3,7 @@ - + Report Context