I setup all of my custom modules in a specific folder, and I linked it to github so that every github push, the folder on the server gets updated, but I want to update the modules and I don't want to specify a module name or a database name.
Is there a odoo command to upgrade all modules in a specific folder, and moreover, is there a way to omit the database name so that it uses the default one?
This question has been flagged
2
Replies
3574
Views
Hi,
Odoo cannot upgrade modules by folder, only by module name.
Odoo always needs a database; there is no automatic default unless you set one.
To upgrade all installed modules, use:
odoo-bin -u all -d your_db
This will also upgrade your custom modules if they are installed.
This is the simplest and closest way to what you want in Odoo.
Hope it helps.
odoo-bin -u all
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
2
Jul 25
|
5087 | ||
|
|
2
Nov 16
|
7662 | ||
|
|
3
Feb 16
|
18775 | ||
|
|
1
Mar 15
|
6106 | ||
|
|
3
Mar 15
|
11470 |