Skip to content
Snippets Groups Projects
Commit 243dd6d9 authored by Etienne Ferriere's avatar Etienne Ferriere
Browse files

Fix analytic code creation when using inheritance by filtering the creation

values from useless data.
parent ea41c129
No related branches found
No related tags found
1 merge request!33Fix analytic code creation when using inheritance by filtering the creation
Pipeline #84337 passed
...@@ -537,6 +537,11 @@ ...@@ -537,6 +537,11 @@
for field, field_data in new_record.fields_get().items() for field, field_data in new_record.fields_get().items()
if field if field
in (list(vals.keys()) + [code_name, code_description]) in (list(vals.keys()) + [code_name, code_description])
and field
in [
code_field.name
for code_field in self.env["analytic.code"]._fields
]
}, },
code_vals, code_vals,
) )
......
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
Changes Changes
======= =======
16.0.1.3.2
----------
Fix analytic code creation when using inheritance by filtering the creation
values from useless data.
16.0.1.3.1 16.0.1.3.1
---------- ----------
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"name": "Analytic Structure", "name": "Analytic Structure",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Dynamic relationships between objects to build analytic matrices.", "summary": "Dynamic relationships between objects to build analytic matrices.",
"version": "16.0.1.3.1", "version": "16.0.1.3.2",
"author": "XCG Consulting", "author": "XCG Consulting",
"category": "Hidden", "category": "Hidden",
"website": "https://orbeet.io", "website": "https://orbeet.io",
......
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