Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7873 Näkymät

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?

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää

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

Tekijä

Thanks Ray, actually I missed the -d

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 23
58214
0
kesäk. 25
2
0
huhtik. 25
1034
2
tammik. 25
2233
2
tammik. 25
2716