```
@api.multi
def name_get(self):
result = []
for record in self:
name = record.name + ' - ' + str(record.id_proof_no)
result.append((record.id, name))
return result
```
working fine
for example
ABC - 3333333333
result in search ABC is fine but when i put 33333333 its not come on search
what i done
````
@api.model
def _name_search(self, name, args=None, operator='ilike', limit=100, name_get_uid=None):
if operator in ('ilike', 'like', '=', '=like', '=ilike'):
args = expression.AND([ args or [], ['|', ('visitor.id_proof_no', operator, name), ('visitor', operator, name)] ])
return super(VisitDetails, self)._name_search(name, args=args, operator=operator, limit=limit, name_get_uid=name_get_uid)
```
its not working where i'm wrong pls correct me