Hi,
I customized the crm form view add one many2one vendor_id (res.partner) ,
I want to search it by
self.env['crm.lead'].search([('vendor_id','ilike','test')])
but it's not working,
but predefined fields country_id is working,
self.env['crm.lead'].search([('country_id','ilike','India')])
Thanks