How to uninstall / update a module from command li

2019-07-24 21:33发布

问题:

How can i uninstall / update a module from command line in odoo 11 ? i'm using ubuntu 16.04.

回答1:

To update module navigate to odoo folder which contains odoo-bin file then run command

./odoo-bin -u your_module -c /etc/your-odoo.conf

To update all module you can use

./odoo-bin -u all -c /etc/your-odoo.conf

you can also select which database by including -d database_name before -u in command