Skip to content
Snippets Groups Projects

:sparkles: Compatibility with changes in converter 17.0.2.0.0

Merged Vincent Hatakeyama requested to merge topic/17.0/converter2 into branch/17.0
4 files
+ 11
6
Compare changes
  • Side-by-side
  • Inline
Files
4
##############################################################################
#
# 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)
Loading