To install new add-ons in your database, follow these steps:
- Find the names of the add-ons. This is the name of the directory containing the __manifest__.py file, without the leading path.
- Stop the instance. If you are working on a production database, make a backup.
- Run the following command:
$ odoo/odoo-bin -c instance.cfg -d dbname -i addon1,addon2
--stop-after-init
You may omit -d dbname if this is set in your configuration file.
- Restart the instance.
To update an already installed add-on module in your database, follow these steps:
- Find the name of the add-on module to update; this is the name of the directory containing the __manifest__.py file, without the leading path.
- Stop the instance. If you are working on a production database, make a backup.
- Run the following command:
$ odoo/odoo-bin -c instance.cfg -d dbname -u addon1
--stop-after-init
You may omit -d dbname if this is set in your configuration file.
- Restart the instance.