Installing a new module
We now have a minimal addon module. It doesn't do anything yet, but we want to install it just to check that everything is working properly so far.
For this to be possible, the addons directory where our module is should be known to the Odoo server. We can confirm that by stopping and starting the Odoo server, and looking at the server log output—in the first log lines, we should find one with the odoo: addons paths: text, followed by the list of active addons paths being used. For more details on how to set the addons paths, refer to Chapter 2, Preparing the Development Environment.
To install a new module, we should start the server using both the -d and -i options. -d ensures that we are working with the correct ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access