From a524277006433a72c978fd45ed5daf87a1f38f05 Mon Sep 17 00:00:00 2001 From: Nikos Tsirintanis <38418585+ntsirintanis@users.noreply.github.com> Date: Tue, 19 Feb 2019 08:20:04 +0100 Subject: [PATCH] [FIX][partner_coc] call search method correctly (#702) --- partner_coc/models/res_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_coc/models/res_partner.py b/partner_coc/models/res_partner.py index b09d3a591..5f83aef26 100644 --- a/partner_coc/models/res_partner.py +++ b/partner_coc/models/res_partner.py @@ -16,6 +16,6 @@ class ResPartner(models.Model): 'coc_registration_number', 'coc', ), search=lambda s, *a: s._search_identification( - 'coc_registration_number', 'coc', *a + 'coc', *a ), )