Upgrading modules
Developing a module is an iterative process, and you will want changes made on source files to be applied to and made visible in Odoo. We can do this from the GUI, looking up the module in the Apps list and clicking on the Upgrade button.
However, when the changes are only in Python code, the upgrade may not have an effect. Instead of a module upgrade, an application server restart is needed. Since Odoo loads Python code only once, any later changes to code require a server restart to be applied.
In some cases, if the module changes were to both data files and Python code, you might need both operations. This is a common source of confusion for new Odoo developers.
But fortunately, there is a better way. The safest way to ...
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