changes
This commit is contained in:
20
fusion_accounting/fusion_accounting_migration/CLAUDE.md
Normal file
20
fusion_accounting/fusion_accounting_migration/CLAUDE.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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_uninstall` AND `module_uninstall`
|
||||
on `ir.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_migration` to add its own migration step
|
||||
AND set the corresponding `fusion_accounting.migration.<module>.completed`
|
||||
flag to True after running.
|
||||
Reference in New Issue
Block a user