One of Odoo's most powerful features is its ability to add features without directly modifying the underlying objects.
This is achieved through inheritance mechanisms, which function as modification layers on top of existing objects. These modifications can happen at every level—Models, Views, and business logic. Instead of directly modifying an existing module, we create a new module so that we can add the intended modifications.
The previous chapter guided us through creating a new app from scratch. In this chapter, we will learn how to create modules that extend existing apps or modules by leveraging existing core or community features.
To achieve this, we will discuss the following topics:
- In-place Model extension, to add features to existing Models
- Modifying data records to extend Views, and adding features or modifying data to change data records...