Skip to content
Snippets Groups Projects
Commit a1a7bf16e7d6 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:sparkles: Compatibility with changes in converter 18.0.4.0.0

parent ce2e110feb9e
No related branches found
No related tags found
1 merge request!82✨ Compatibility with changes in converter 18.0.4.0.0
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
Changelog Changelog
========= =========
18.0.1.4.0
----------
Compatibility with changes in converter 18.0.4.0.0.
18.0.1.3.0 18.0.1.3.0
---------- ----------
......
############################################################################## ##############################################################################
# #
# Redner Odoo module # 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 # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{ {
"name": "Redner", "name": "Redner",
"license": "AGPL-3", "license": "AGPL-3",
"version": "18.0.1.3.0", "version": "18.0.1.4.0",
"category": "Reporting", "category": "Reporting",
"author": "XCG Consulting", "author": "XCG Consulting",
"website": "https://orbeet.io/", "website": "https://orbeet.io/",
......
############################################################################## ##############################################################################
# #
# Redner Odoo module # 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 # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
############################################################################## ##############################################################################
from odoo import _, api, fields, models # type: ignore[import-untyped] 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 odoo.exceptions import ValidationError # type: ignore[import-untyped]
from ..converter import ImageDataURL, ImageFile from ..converter import ImageDataURL, ImageFile
...@@ -186,4 +186,4 @@ ...@@ -186,4 +186,4 @@
raise ValidationError(_("invalid converter type: %s") % sub.converter) raise ValidationError(_("invalid converter type: %s") % sub.converter)
d[sub.keyword.rsplit(".", 2)[-1]] = conv d[sub.keyword.rsplit(".", 2)[-1]] = conv
return converter.Model("", d) return converter.Model(d)
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
] ]
dependencies = [ dependencies = [
"odoo==18.0.*", "odoo==18.0.*",
"odoo-addon-converter >=18.0.1,<18.0.4", "odoo-addon-converter >=18.0.4,<18.0.5",
"requests_unixsocket", "requests_unixsocket",
] ]
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
"https://test-redner-url/api/v1/render", "https://test-redner-url/api/v1/render",
json={ json={
"accept": "text/html", "accept": "text/html",
"data": [{"__type__": "", "login": "demo"}], "data": [{"login": "demo"}],
"template": { "template": {
"account": "test-account", "account": "test-account",
"name": "test-redner-id", "name": "test-redner-id",
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
"https://test-redner-url/api/v1/render", "https://test-redner-url/api/v1/render",
json={ json={
"accept": "text/html", "accept": "text/html",
"data": [{"__type__": "", "login": "demo"}], "data": [{"login": "demo"}],
"template": { "template": {
"account": "test-account", "account": "test-account",
"name": "test-redner-id", "name": "test-redner-id",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment