Project

General

Profile

How to upgrade Odoo » History » Revision 3

Revision 2 (Olivier Bitsch, 10/23/2023 10:03 AM) → Revision 3/9 (Olivier Bitsch, 11/17/2023 11:42 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 

 ~~~ 
 sudo -u odoo bash -c "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' --load=web,openupgrade_framework 
 ~~~