diff --git a/base_partner_merge/base_partner_merge.py b/base_partner_merge/base_partner_merge.py index 1cc1eca75..d0f64219f 100644 --- a/base_partner_merge/base_partner_merge.py +++ b/base_partner_merge/base_partner_merge.py @@ -388,8 +388,9 @@ class MergePartnerAutomatic(orm.TransientModel): " merge several contacts linked to existing Journal " "Items.")) - call_it = lambda function: function(cr, uid, src_partners, - dst_partner, context=context) + def call_it(function): + function(cr, uid, src_partners, + dst_partner, context=context) call_it(self._update_foreign_keys) call_it(self._update_reference_fields)