_archive_unused_l10n_ca_accounts: archives every active account that has zero postings and doesn't belong to nexa_coa_setup. Sweeps ~280 unused l10n_ca defaults from 426 to 141 active. _rename_legacy_accounts: marks 14 legacy bookkeeping codes with a '(LEGACY)' prefix indicating the new account they map to, and archives them. Uses active_test=False so already-archived accounts also get the prefix for future readability. Both idempotent — re-running on -u or via odoo-shell has no effect on already-processed records. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8.1 KiB
8.1 KiB