Which modules must be uninstalled before a version bump depends on the data of one specific database, so that list does not belong to a shared versioned file. - Read private/odoo/migration/<database>/uninstall_module_list_odooXX0_to_odooYY0.txt first, then the shared versioned defaults under script/odoo/migration/, and merge them (duplicates dropped). private/ mirrors script/, the convention already used by script/todo/todo.json -> private/todo/todo_override.json. - Fix the parser. It was « f.readline().split() »: only the FIRST line was kept, so a multi-line list was silently truncated, and a comma-separated list turned into one bogus module name. On a file starting with a comment it returned the words of that comment as module names. It now reads every line and accepts commas, several names per line, blank lines and comments. - Support a « # reason » justification per module, printed before uninstalling; a module with no reason is flagged. Removing a module must stay reviewable. - Ignore private/odoo/ in git: these lists describe one database. 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.