997 B
997 B
fusion_accounting_migration — Cursor / Claude Context
Purpose
Transitional sub-module that helps clients move from Odoo Enterprise accounting to Odoo Community + Fusion Accounting without losing data.
What it does
- Safety guard: blocks uninstall of Enterprise accounting modules until the migration wizard has run (per-module flag in ir.config_parameter)
- Migration wizard: shell that other fusion sub-modules extend with per-feature migration logic (Phase 0 ships only the shell)
Critical
- The safety guard overrides
button_immediate_uninstallANDmodule_uninstallonir.module.module. Both paths must be guarded — UI uninstall, CLI uninstall, and API uninstall all go through one or the other. - Each fusion feature sub-module that replaces an Enterprise feature MUST extend
the migration wizard's
action_run_migrationto add its own migration step AND set the correspondingfusion_accounting.migration.<module>.completedflag to True after running.