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

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?

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

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

Ảnh đại diện
Huỷ bỏ

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).

Tác giả

Thanks Ray, actually I missed the -d

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 23
58197
0
thg 6 25
2
0
thg 4 25
1027
2
thg 1 25
2220
2
thg 1 25
2680