Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
8731 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi

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

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

Awatar
Odrzuć
Autor

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.

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
cze 25
2
1
cze 23
15634
1
sty 22
2658
0
lis 21
3192
1
lip 21
2702