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?
Se marcó esta pregunta
2
Respuestas
3594
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
2
jul 25
|
5100 | ||
|
|
2
nov 16
|
7676 | ||
|
|
3
feb 16
|
18799 | ||
|
|
1
mar 15
|
6150 | ||
|
|
3
mar 15
|
11492 |