How to upgrade Odoo » History » Version 3
Olivier Bitsch, 11/17/2023 11:42 AM
1 | 1 | Olivier Bitsch | # How to upgrade Odoo to new major version |
---|---|---|---|
2 | |||
3 | Install the scripts |
||
4 | |||
5 | ~~~ |
||
6 | apt install odoo-oca-openupgrade |
||
7 | ~~~ |
||
8 | |||
9 | 2 | Olivier Bitsch | Ensure to install latest version of openupgradelib. |
10 | |||
11 | ~~~ |
||
12 | pip install --ignore-installed git+https://github.com/OCA/openupgradelib.git@master |
||
13 | ~~~ |
||
14 | |||
15 | 1 | Olivier Bitsch | Run the command |
16 | |||
17 | ~~~ |
||
18 | 3 | Olivier Bitsch | 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' |
19 | 1 | Olivier Bitsch | ~~~ |