Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
7912 Visualizações

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
Cancelar
Melhor resposta

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

Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jun. 23
14665
1
jan. 22
1999
0
nov. 21
2337
1
jul. 21
2143
Odoo server Resolvido
3
fev. 20
18293