In this recipe, we will create a new module, make it available in our Odoo instance, and install it.
We will need an Odoo instance ready to use.
If the first recipe in Chapter 1, Installing the Odoo Development Environment, was followed, Odoo should be available at
~/odoo-dev/odoo. For explanation purposes, we will assume this location for Odoo, although any other location of your preference could be used.
We will also need a location for our Odoo modules. For the purpose of this recipe, we will use a
local-addons directory alongside the
odoo directory, at
The following steps will create and install a new addon module: