From 36b5d15188381eee9da90f9380e79bffdee415f4 Mon Sep 17 00:00:00 2001 From: Charbel Jacquin Date: Tue, 13 Oct 2015 17:36:29 +0200 Subject: [PATCH] [FIX][base_partner_merge] correctly handle new style reference fields --- base_partner_merge/base_partner_merge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: