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

python3 odoo-bin --upgrade-path=/home/desktop/workspace/OpenUpgrade/16.0/openupgrade_scripts/scripts/ -d test_23_dec_id --update all --stop-after-init


Usage: odoo-bin [options]

odoo-bin: error: option --upgrade-path: the path '/home/desktop

/workspace/OpenUpgrade/16.0/openupgrade_scripts/scripts/' is not a valid upgrade directory


How to fix this type of error?

อวตาร
ละทิ้ง

Tried changing / for \ ?

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

I think you lack info here:

--database=DB-NAME

-c your\path\to\odoo.conf

--load=base,web,openupgrade_framework

--addons-path=path\to\addons

---EDIT---

From: https://oca.github.io/OpenUpgrade/migration_details.html

Edit the configuration files and command line parameters to point to the database you are going to upgrade. The recommended command line parameters are the "--update all --stop-after-init --load=base,web,openupgrade_framework" flags. 

You are missing those, and by the way I'm not sure migration to 16.0 is completed (doesn't seem to be available to me):

https://github.com/OCA/OpenUpgrade

https://oca.github.io/OpenUpgrade/status.html

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

in v16?

Check edit

ผู้เขียน คำตอบที่ดีที่สุด

python3 odoo-bin --upgrade-path=/home/desktop/workspace/OpenUpgrade/16.0/openupgrade_scripts/scripts/ -d test_23_dec_id --update all --stop-after-init

work in odoo 15 but not work as odoo 16 using openupgrade

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 23
1001
3
มิ.ย. 24
1746
1
ม.ค. 23
13678
0
ม.ค. 24
672
1
มิ.ย. 23
3289