The Defining the Model Representation and Order recipe in Chapter 4, Creating Odoo Add-On Modules, demonstrates how to define the name_get() method, which is used to create a text representation of a record.
The Defining filters on record lists – Domain recipe in Chapter 10, Backend Views, provides more information about search domain syntax.