Skip to Content
Menú
This question has been flagged
3 Respostes
8718 Vistes

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
Descartar
Best 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 

Avatar
Descartar
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.

Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de juny 25
2
1
de juny 23
15604
1
de gen. 22
2638
0
de nov. 21
3168
1
de jul. 21
2691