diff --git a/web_company_color/README.rst b/web_company_color/README.rst index be4f7fb1c..68e1d45e7 100644 --- a/web_company_color/README.rst +++ b/web_company_color/README.rst @@ -69,6 +69,7 @@ Contributors * Lois Rilo (ForgeFlow) * Simone Orsi * Jairo Llopis +* Iván Antón Maintainers ~~~~~~~~~~~ diff --git a/web_company_color/__manifest__.py b/web_company_color/__manifest__.py index 29c10b1d4..e73cf17e5 100644 --- a/web_company_color/__manifest__.py +++ b/web_company_color/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Web Company Color", "category": "web", - "version": "13.0.1.0.1", + "version": "14.0.1.0.0", "author": "Alexandre Díaz, Odoo Community Association (OCA)", "website": "https://github.com/OCA/web", "depends": ["web", "base_sparse_field"], diff --git a/web_company_color/models/ir_qweb.py b/web_company_color/models/ir_qweb.py index 869e040b3..956f9964f 100644 --- a/web_company_color/models/ir_qweb.py +++ b/web_company_color/models/ir_qweb.py @@ -63,7 +63,7 @@ class QWeb(models.AbstractModel): _inherit = "ir.qweb" @api.model - def render(self, id_or_xml_id, values=None, **options): + def _render(self, id_or_xml_id, values=None, **options): """ Adds the active company to the context """ try: active_company_id = int( @@ -76,7 +76,7 @@ class QWeb(models.AbstractModel): or self.env.user.company_id ) self = self.with_context(active_company_id=company_id.id) - return super().render(id_or_xml_id, values=values, **options) + return super()._render(id_or_xml_id, values=values, **options) def _get_asset_content(self, xmlid, options): """ Handle 'special' web_company_color xmlid """ diff --git a/web_company_color/readme/CONTRIBUTORS.rst b/web_company_color/readme/CONTRIBUTORS.rst index 09be7ad09..71df9a76b 100644 --- a/web_company_color/readme/CONTRIBUTORS.rst +++ b/web_company_color/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * Lois Rilo (ForgeFlow) * Simone Orsi * Jairo Llopis +* Iván Antón