Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
8788 Представления

when I run:

python3 odoo-bin -u module_x

I want it to start the upgrade immediately after starting, without having to open the browser.

I use vs code, normally but a command line trick is also an acceptable answer.

Аватар
Отменить
Лучший ответ

Hi

You should specify what database you want to update by adding -d parameter

Eg:   python3 odoo-bin -d your_database -u module_x 

Аватар
Отменить
Автор

I wasn't giving it the -d option :) Also after thinking about it, this behavior is correct since you may have many databases, and upgrading in all of them will be unnecessary.

Лучший ответ

The parameter -u works right after starting, so it's what you need. What is the problem?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
июн. 25
2
1
июн. 23
15696
1
янв. 22
2701
0
нояб. 21
3238
1
июл. 21
2797