Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8879 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi

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

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 25
2
1
thg 6 23
15867
1
thg 1 22
2831
0
thg 11 21
3319
1
thg 7 21
2881