diff --git a/base_partner_merge/base_partner_merge.py b/base_partner_merge/base_partner_merge.py index 4331c50fc..7b55f1093 100644 --- a/base_partner_merge/base_partner_merge.py +++ b/base_partner_merge/base_partner_merge.py @@ -274,9 +274,9 @@ class MergePartnerAutomatic(orm.TransientModel): if record.model == 'ir.property': continue - field_type = proxy_model._columns.get(record.name).__class__._type + field_spec = proxy_model._fields.get(record.name) - if field_type == 'function': + if field_spec.compute: continue for partner in src_partners: