Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
9127 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
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.

Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Juni 25
2
1
Juni 23
16353
1
Jan. 22
3140
0
Nov. 21
3664
1
Juli 21
3285