Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
7905 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

Hi

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

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

Avatar
Abbandona
Autore

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.

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 23
14656
1
gen 22
1995
0
nov 21
2335
1
lug 21
2143
3
feb 20
18280