Model classes can use additional attributes that control some of their behaviors. These are the most commonly used attributes:
- _name is the internal identifier for the Odoo model we are creating. This is mandatory when creating a new model.
- _description is a user-friendly title for the model's records, shown when the model is viewed in the user interface. This is optional but recommended.
- _order sets the default order to use when the model's records are browsed, or shown in a list view. It is a text string to be used as the SQL order by clause, so it can be anything you could use there, although it has smart behavior and supports translatable and many-to-one field names.
Our book model is already using the _name and _description ...