When OpenUpgrade fails, the intermediate <db>_upgrade_<N> database is left half migrated. The clone step had already been recorded as done, so a rerun skipped it and restarted OpenUpgrade on top of that broken clone. Clear the clone flag on failure so the replay rebuilds the intermediate database from the pristine source. Found by a real 12.0 -> 13.0 run: Ubuntu unattended-upgrades restarted the PostgreSQL cluster mid-migration, Odoo lost its connection, and the replay would have resumed on the damaged clone. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| database_manager.py | ||
| kdbx_manager.py | ||
| logo_ascii.txt | ||
| qemu_install_monitor.py | ||
| README.base.md | ||
| README.fr.md | ||
| README.md | ||
| source_todo.sh | ||
| todo.json | ||
| todo.py | ||
| todo_example.json | ||
| todo_file_browser.py | ||
| todo_i18n.py | ||
| todo_telemetry.py | ||
| todo_upgrade.py | ||
| version_manager.py | ||
TODO is an assistant robot to use ERPLibre
Execute it with ./script/todo/todo.py or make todo.
For a new project, copy todo_example.json to private/todo/todo_override.json | private/todo/todo_override_private.json and edit it.