# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1739977613 -3600 # Wed Feb 19 16:06:53 2025 +0100 # Branch 17.0 # Node ID d17ccdea52e7628a9d51ba9f62effba23f0c3313 # Parent 9a928149808c447bdf599ef6eba1c65b2c8b7f51 ✨ Compatibility with changes in converter 18.0.4.0.0 diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -2,6 +2,11 @@ Changelog ========= +18.0.1.8.0 +---------- + +Compatibility with changes in converter 17.0.2.0.0. + 17.0.1.7.0 ---------- diff --git a/__manifest__.py b/__manifest__.py --- a/__manifest__.py +++ b/__manifest__.py @@ -1,7 +1,7 @@ ############################################################################## # # Redner Odoo module -# Copyright © 2016, 2023, 2024 XCG Consulting <https://xcg-consulting.fr> +# Copyright © 2016, 2023-2025 XCG Consulting <https://xcg-consulting.fr> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -21,7 +21,7 @@ { "name": "Redner", "license": "AGPL-3", - "version": "17.0.1.7.0", + "version": "17.0.1.8.0", "category": "Reporting", "author": "XCG Consulting", "website": "https://orbeet.io/", diff --git a/models/redner_substitution.py b/models/redner_substitution.py --- a/models/redner_substitution.py +++ b/models/redner_substitution.py @@ -1,7 +1,7 @@ ############################################################################## # # Redner Odoo module -# Copyright © 2016 XCG Consulting <https://xcg-consulting.fr> +# Copyright © 2016, 2025 XCG Consulting <https://xcg-consulting.fr> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -19,7 +19,7 @@ ############################################################################## from odoo import _, api, fields, models # type: ignore[import-untyped] -from odoo.addons import converter # type: ignore[import-untyped] +from odoo.addons import converter from odoo.exceptions import ValidationError # type: ignore[import-untyped] from ..converter import ImageDataURL, ImageFile @@ -189,4 +189,4 @@ raise ValidationError(_("invalid converter type: %s") % sub.converter) d[sub.keyword.rsplit(".", 2)[-1]] = conv - return converter.Model("", d) + return converter.Model(d) diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ ] dependencies = [ "odoo==17.0.*", - "odoo-addon-converter >=17.0.1,<17.0.2", + "odoo-addon-converter >=17.0.2,<17.0.3", "requests_unixsocket", ]