diff --git a/partner_coc/models/res_partner.py b/partner_coc/models/res_partner.py index ad283c56f..8480fafcb 100644 --- a/partner_coc/models/res_partner.py +++ b/partner_coc/models/res_partner.py @@ -13,6 +13,6 @@ class ResPartner(models.Model): 'coc_registration_number', 'coc', ), search=lambda s, *a: s._search_identification( - 'coc_registration_number', 'coc', *a + 'coc', *a ), )