Browse Source

fix partner merge

pull/388/head
luc-demeyer 8 years ago
parent
commit
26e93a519b
  1. 3
      base_partner_merge/base_partner_merge.py

3
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:

Loading…
Cancel
Save