Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
7931 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

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.

Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 23
14692
1
Jan 22
2000
0
Nov 21
2341
1
Jul 21
2146
Odoo server Diselesaikan
3
Feb 20
18309