diff --git a/MetaAnalytic.py b/MetaAnalytic.py index fe03f225bdc435538891a834324c5eaeffb64e33_TWV0YUFuYWx5dGljLnB5..dde4ff42561969d74aee134d94a8b2cb81a3ae7d_TWV0YUFuYWx5dGljLnB5 100644 --- a/MetaAnalytic.py +++ b/MetaAnalytic.py @@ -527,7 +527,8 @@ }, 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: self._generate_code_ref_id(res) diff --git a/NEWS.rst b/NEWS.rst index fe03f225bdc435538891a834324c5eaeffb64e33_TkVXUy5yc3Q=..dde4ff42561969d74aee134d94a8b2cb81a3ae7d_TkVXUy5yc3Q= 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -12,6 +12,7 @@ - code_name - code_description - parent_column +New partners without name, does not trigger an analytic_code creation. .. _2.2: