On odoo 8 server --auto-reload when running

  • In fact, the command starts the odoo 8 server.
  • It will provide the option "-auto-reload"
  • But actually I don’t know how it works and when to work.
  • Please give me some recommendations for this.
+4
source share
2 answers

Usually, if you are changing your python code, you need to restart the server in order to apply the new changes.

- the startup option is enabled, you do not need to restart the server. It allows you to automatically reload python and xml files without restarting the server. He demanded pyinotify . This is a Python module for monitoring file system changes.

-auto-reload . "false". . --auto-reload . ,

openerp.service.server: Watching addons folder /opt/odoo/v8.0/addons
openerp.service.server: AutoReload watcher running

. pyinotify.

+7

, , odoo 10. - , :

odoo 10 --dev = reload. /etc/init.d/odoo. .

0

All Articles