# HG changeset patch # User Balde Oury <oury.balde@xcg-consulting.fr> # Date 1733481969 0 # Fri Dec 06 10:46:09 2024 +0000 # Branch 18.0 # Node ID eac60c83f88175d53293fc2f690eb820271b2051 # Parent eea3e52505d3cc9c7ddf4e54d3c26eda29f4513d pyproject: update odoo-addon-converter version diff --git a/pyproject.toml b/pyproject.toml --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ ] dependencies = [ "odoo==18.0.*", - "odoo-addon-converter >=18.0.1,<18.0.2", + "odoo-addon-converter >=18.0.1,<18.0.3", "requests_unixsocket" ] # HG changeset patch # User Balde Oury <oury.balde@xcg-consulting.fr> # Date 1733483399 0 # Fri Dec 06 11:09:59 2024 +0000 # Branch 18.0 # Node ID e94d63bf437de0659004cdf649ad3f418d555ec4 # Parent eac60c83f88175d53293fc2f690eb820271b2051 Fix: Update test cases to match the API call structure diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -2,6 +2,11 @@ Changelog ========= +18.0.1.0.1 +---------- + +Fix: Update test cases to match the API call structure. + 18.0.1.0.0 ---------- diff --git a/__manifest__.py b/__manifest__.py --- a/__manifest__.py +++ b/__manifest__.py @@ -21,7 +21,7 @@ { "name": "Redner", "license": "AGPL-3", - "version": "18.0.1.0.0", + "version": "18.0.1.0.1", "category": "Reporting", "author": "XCG Consulting", "website": "https://orbeet.io/", diff --git a/tests/test_ir_actions_report.py b/tests/test_ir_actions_report.py --- a/tests/test_ir_actions_report.py +++ b/tests/test_ir_actions_report.py @@ -76,7 +76,7 @@ "https://test-redner-url/api/v1/render", json={ "accept": "text/html", - "data": [{"login": "demo"}], + "data": [{"__type__": "", "login": "demo"}], "template": { "account": "test-account", "name": "test-redner-id", diff --git a/tests/test_mail_template.py b/tests/test_mail_template.py --- a/tests/test_mail_template.py +++ b/tests/test_mail_template.py @@ -73,7 +73,7 @@ "https://test-redner-url/api/v1/render", json={ "accept": "text/html", - "data": [{"login": "demo"}], + "data": [{"__type__": "", "login": "demo"}], "template": { "account": "test-account", "name": "test-redner-id", # HG changeset patch # User Balde Oury <oury.balde@xcg-consulting.fr> # Date 1733483802 0 # Fri Dec 06 11:16:42 2024 +0000 # Branch 18.0 # Node ID ac6896ba89bcc754967dfbf82073f294cbcc825e # Parent e94d63bf437de0659004cdf649ad3f418d555ec4 Added tag 18.0.1.0.1 for changeset e94d63bf437d diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -29,3 +29,4 @@ 536ab7a17b99f9b7c5f89e97636976c05cad8173 16.0.1.3.0 c422922e6c47634df921532fa26f73a77792cebc 17.0.1.0.0 5a01eacaa6a27f688aebb070daac0f3c90f93f20 18.0.1.0.0 +e94d63bf437de0659004cdf649ad3f418d555ec4 18.0.1.0.1