This question has been flagged

I'm looking at developing custom modules, including module dependency and auto-install.

Odoo is running as a service on Ubuntu 16.04.02 Server 64bit LTS.

I'm looking to understand correct uses for init, update and just loading modules.

Need to consider:

- installing a new module

- installing a new module that's a new dependency

- updating code in a single module

- updating code in a module that is a dependency of another

Avatar
Discard

Hi Chris,

For the development of the custom module, you can follow this link, http://www.odoo.com/documentation/10.0/howtos/backend.html .

I dont understand what exactly you are asking.

Author

I'm looking for the correct use cases for init and update switches, and the correct way to apply updates to a custom module. Should you use the --update <module_name>? Is this the same for updating a module that's a dependency of another module? Do you update the parent or child with --update?

Same for installing a new module, do you use --init <module_name>?

Do you need to --init <module_name> before you can run Odoo without needing --init or update, as long as it is available in the addons_path?