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

I tried upgrading with:

    `odoo-bin -u hr -u inventory` for upgrading multiple modules, but only the first one gets upgraded `hr` and the second is ignored.


I also tried:

    `odoo-bin -u hr,inventory` but it also doesn't work


For now I upgrade every module with its own command, but this is wasting valuable time.


My question is: How to upgrade multiple modules with a single command?

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

Hi,

You can upgrade multiple modules from command line as follows,

odoo-bin -u hr,stock

In your case it might be wrong module name, if you are looking to upgrade the inventory module, the technical name of the module is stock.


See: How To Upgrade Module From Terminal in Odoo

Thanks

อวตาร
ละทิ้ง

Also make sure you specify the database name. The documentation: -u <modules>, --update <modules>

comma-separated list of modules to update before running the server (requires -d).

ผู้เขียน

Thanks Ray, actually I missed the -d

Also my using of inventory vs stock is embarrassing, please forgive me XD

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 23
58179
0
มิ.ย. 25
2
0
เม.ย. 25
1023
Upgrade 17 to 18 on prem แก้ไขแล้ว
2
ม.ค. 25
2183
Upgrade Odoo v16 to v17 on windows แก้ไขแล้ว
2
ม.ค. 25
2647