In the previous chapters, we saw how to add a model, fields, and views. Whenever we make changes to Python files, we need to restart the server in order to apply those changes. If we make changes in XML files, we need to restart the server and update the module to reflect those changes in the user interface. If you are developing a large application, this can be time-consuming and frustrating. Odoo provides some command-line --dev options to overcome these issues. In this recipe, we will see how to use these options.
The auto-reload and --dev options
Getting ready
Install watchdog in your developer environment with the following command in the shell. Without watchdog, the auto-reload feature will not work:
$ pip3 install...