How to upgrade Odoo » History » Revision 2
Revision 1 (Olivier Bitsch, 10/23/2023 09:58 AM) → Revision 2/9 (Olivier Bitsch, 10/23/2023 10:03 AM)
# How to upgrade Odoo to new major version
Install the scripts
~~~
apt install odoo-oca-openupgrade
~~~
Ensure to install latest version of openupgradelib.
~~~
pip install --ignore-installed git+https://github.com/OCA/openupgradelib.git@master
~~~
Run the command
~~~
odoo -u all --addons-path="/usr/share/odoo-oca,/usr/lib/python3/dist-packages/odoo/addons" --upgrade-path=/usr/share/odoo-oca/openupgrade_scripts/scripts/ -d iabsis --stop-after-init --load=web,openupgrade_framework
~~~