- Odoo 11 Development Cookbook(Second Edition)
- Holger Brunn Alexandre Fayolle
- 67字
- 2021-06-25 22:48:45
Defining the Model representation and order
Models have structural attributes defining their behavior. These are prefixed with an underscore and the most important is _name, which defines the internal global identifier for the model.
There are two other attributes we can use, one to set the field used as a representation or title for the records, and another one to set the order they are presented in.