This question has been flagged
1 Reply
5436 Views

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
Discard
Best Answer

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
Discard

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

Author

Thanks Ray, actually I missed the -d

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