Added 30 .base.md files using the mmg (Multilingual Markdown Generator) format to automatically generate English (.md) and French (.fr.md) versions of all project documentation. Updated conf/make.documentation.Makefile to process all .base.md files via `make doc_markdown`.
1.8 KiB
1.8 KiB
Migration
Guide to help migration with different version.
Docker
- Clone project if only download docker-compose
git initgit remote add origin https://github.com/erplibre/erplibregit fetchmv ./docker-compose.yml /tmp/temp_docker-compose.ymlgit checkout mastermv /tmp/temp_docker-compose.yml ./docker-compose.yml
- Do manually a backup of ERPLibre database (TODO implement makefile command)
- Update
./docker-compose.ymldepending of difference with git. - Run script
make docker_exec_erplibre_gen_config - Stop the docker
make docker_stop - Delete the volume,
docker volume rm ${BASENAME}_erplibre-db-data - Start the docker
make docker_run_daemon - Restore the backup manually.
Database migration, PostgreSQL update 11 to 12
TODO not working automatically, check last procedure and do it manually. The command to the docker is missing support when database is external.
Easy way, do a backup with ERPLibre, upgrade Postgresql, restore the same backup.
List all database :
make docker_show_databases
Vanilla
- 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.
./script/addons/update_addons_all.sh BD
Execute migration with OpenUpgrade.
make config_gen_migration
./.venv.erplibre/bin/python ./script/OCA_OpenUpgrade/odoo-bin -c ./config.conf --no-http --update all --stop-after-init -d BD
Migration Odoo 13 to Odoo 14
Replace BD to your database name.
make config_gen_migration
./run.sh --upgrade-path=./script/OCA_OpenUpgrade/openupgrade_scripts/scripts --update all --no-http --stop-after-init --load=base,web,openupgrade_framework -d BD