From 0ca2d1073cc365c4905504e6d8cd420fc60312bd Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Mon, 21 Aug 2023 17:36:03 -0400 Subject: [PATCH] [ADD] doc migration: guide to do Odoo migration --- doc/MIGRATION.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/MIGRATION.md b/doc/MIGRATION.md index d9d3dc3..b6f65c3 100644 --- a/doc/MIGRATION.md +++ b/doc/MIGRATION.md @@ -37,3 +37,29 @@ make docker_show_databases - Run script `make install_dev` - Restart your daemon - Regenerate master password manually + +## Migration Odoo 12 to Odoo 13 + +Replace BD to your database name. + +First, be sure all addons is updated with script. + +```bash +./script/addons/update_addons_all.sh BD +``` + +Execute migration with OpenUpgrade. + +```bash +make config_gen_migration +./.venv/bin/python ./script/OCA_OpenUpgrade/odoo-bin -c ./config.conf --update all --stop-after-init -d BD +``` + +## Migration Odoo 13 to Odoo 14 + +Replace BD to your database name. + +```bash +make config_gen_migration +./run.sh --upgrade-path=./script/OCA_OpenUpgrade/openupgrade_scripts/scripts --update all --stop-after-init --load=base,web,openupgrade_framework -d BD +```