O'Reilly logo
  • Pedro Salgado thinks this is interesting:

_name_search

From

Cover of Odoo Development Cookbook

Note

I think this may be wrong.
You want to override the name_search() method not the private _name_search() one.