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?
Этот вопрос был отмечен
2
Ответы
3786
Представления
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
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
2
июл. 25
|
5190 | ||
|
|
2
нояб. 16
|
7750 | ||
|
|
3
февр. 16
|
18881 | ||
|
|
1
мар. 15
|
6228 | ||
|
|
3
мар. 15
|
11588 |