Task 20 of Phase 0: document the sub-module split. - fusion_accounting_core: foundation doc covering security groups, shared-field schema preservation, and the Enterprise-detection helper. - fusion_accounting_ai: preserves the original module's AI-specific design decisions, Odoo 19 gotchas, deployment commands, controllers, models, theme rules, and known issues. Adds a new Data-adapter pattern section documenting tri-mode routing (fusion / enterprise / community). - fusion_accounting_migration: doc for the Enterprise uninstall safety guard and the wizard shell that future feature sub-modules will extend. - fusion_accounting (meta): rewritten CLAUDE.md as a pure overview pointing at sub-modules, plus a new README.md covering one-click install/uninstall. Each sub-module now has CLAUDE.md (Cursor/Claude context), UPGRADE_NOTES.md (version-by-version deltas / reference sources), and README.md (user-facing install/usage docs). 11 files total. Made-with: Cursor
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.