Skip to content
Snippets Groups Projects
Commit dde4ff425619 authored by damien.habets's avatar damien.habets
Browse files

Creating a partner without name, no analytic code is created upon this creation.

parent fe03f225bdc4
No related branches found
No related tags found
1 merge request!2Creating a partner without name, no analytic code is created upon this creation.
...@@ -527,7 +527,8 @@ ...@@ -527,7 +527,8 @@
}, },
code_vals, code_vals,
) )
super(superclass, res).write({column: new_code.id}) if new_code:
super(superclass, res).write({column: new_code.id})
if code_ref_ids: if code_ref_ids:
self._generate_code_ref_id(res) self._generate_code_ref_id(res)
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
- code_name - code_name
- code_description - code_description
- parent_column - parent_column
New partners without name, does not trigger an analytic_code creation.
.. _2.2: .. _2.2:
......
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