From 1db97bbd9907de5f13aa2e9a8e2c0ae86ae4207b Mon Sep 17 00:00:00 2001 From: Dave Prosee Date: Thu, 2 Aug 2018 22:30:27 +0200 Subject: [PATCH] partner_coc search function on id_number now calls with right number of arguments when called from standard filter --- 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 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 ), )