Browse Source

Merge pull request #388 from Noviat/8.0-fix-partner-merge

[8.0] fix partner merge
pull/298/head
Rafael Blasco 8 years ago
committed by GitHub
parent
commit
3c2292c3d0
  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