Building our first Odoo module

One of the best features of the Odoo framework is that we can extend Odoo and write our own modules without having to modify any of the Odoo source code. Instead, the changes we make are all contained in their own directory and within their own files.

The primary advantage to this point is that when Odoo modifies their source code with patches or bug fixes, we do not have to worry about our changes getting overwritten. Also, while we may still need to modify our code if Odoo makes a dramatic change to their source code, there is a reasonable chance that the changes required will be minimal.

Note

WARNING:

Like in other areas of Odoo development, make frequent backups of your databases. Some of the examples we will show ...

Get Working with Odoo 10 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.