Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
7913 มุมมอง

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.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi

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

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

อวตาร
ละทิ้ง
ผู้เขียน

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.

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มิ.ย. 23
14668
1
ม.ค. 22
1999
0
พ.ย. 21
2337
1
ก.ค. 21
2143
Odoo server แก้ไขแล้ว
3
ก.พ. 20
18293