跳至内容
菜单
此问题已终结
1 回复
7849 查看

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

相关帖文 回复 查看 活动
1
4月 23
58170
0
6月 25
2
0
4月 25
1019
2
1月 25
2156
2
1月 25
2636