Following the instructions in Chapter 2, Installing and Organizing the Development Environment, we should have the Odoo server code at ~/odoo-dev/odoo/. The best practices say that our code should be kept in its own directory, and never mixed up with Odoo's original code. So, to host our custom modules we will use a new directory alongside Odoo: ~/odoo-dev/custom-addons.
Odoo includes a scaffold command to automatically create a new module directory, with a basic structure already in place. You can learn more about it with the following command:
$ ~/odoo-dev/odoo/odoo-bin scaffold --help
You might want to keep this in mind when you start working on your next module, but we won't be using it right now since ...