Odoo OpenUpgrade

Table of Contents

You need a working installation of odoo 12, or almost postgresql database.

su - odoo
git clone --branch 13.0 --depth 1 https://github.com/OCA/OpenUpgrade.git
pip3 install git+git://github.com/OCA/openupgradelib.git
cd OpenUpgrade
./odoo-bin --update all --stop-after-init -d openupgrade

Before upgrade you will need create a working installation of odoo 13.

Odoo FE

After update do:

sudo -u odoo /opt/odoo/odoo-bin --stop-after-init -c /etc/odoo.conf -d openupgrade -u res_currency_cr_adapter --logfile=/tmp/odoo_openupgrade
sudo -u odoo /opt/odoo/odoo-bin --stop-after-init -c /etc/odoo.conf -d openupgrade -u l10n_cr_country_codes --logfile=/tmp/odoo_openupgrade
sudo -u odoo /opt/odoo/odoo-bin --stop-after-init -c /etc/odoo.conf -d openupgrade -u cr_electronic_invoice --logfile=/tmp/odoo_openupgrade

References

odoo_openupgrade.txt · Last modified: 2020/06/13 19:52
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain