From 26e93a519bfcfa2e0002cad7e050948ba8bd8382 Mon Sep 17 00:00:00 2001 From: luc-demeyer Date: Wed, 15 Feb 2017 13:45:23 +0100 Subject: [PATCH] fix partner merge --- base_partner_merge/base_partner_merge.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base_partner_merge/base_partner_merge.py b/base_partner_merge/base_partner_merge.py index 14629f3b2..f7bd4e5f5 100644 --- a/base_partner_merge/base_partner_merge.py +++ b/base_partner_merge/base_partner_merge.py @@ -295,7 +295,8 @@ class MergePartnerAutomatic(TransientModel): legacy = proxy_model._columns.get(record.name) field_spec = proxy_model._fields.get(record.name) - if isinstance(legacy, fields.function) or field_spec.compute: + if not legacy or isinstance(legacy, fields.function) \ + or field_spec.compute: continue for partner in src_partners: