How to upgrade Odoo » History » Version 2
Olivier Bitsch, 10/23/2023 10:03 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 | 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 | ~~~ |