Skip to content
Snippets Groups Projects

:sparkles: Compatibility with changes in converter 18.0.4.0.0

Merged Vincent Hatakeyama requested to merge topic/18.0/converter4 into branch/18.0
6 files
+ 13
8
Compare changes
  • Side-by-side
  • Inline
Files
6
##############################################################################
#
# 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
@@ -186,4 +186,4 @@
raise ValidationError(_("invalid converter type: %s") % sub.converter)
d[sub.keyword.rsplit(".", 2)[-1]] = conv
return converter.Model("", d)
return converter.Model(d)
Loading