Files
Odoo-Modules/nexa_coa_setup
gsinghpal 9f28dce160 feat(nexa_coa_setup): archive-unused + rename-legacy hooks
_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>
2026-05-12 19:08:50 -04:00
..

Nexa Systems — Chart of Accounts Setup

Custom Odoo 19 module that configures the chart of accounts, taxes, fiscal positions, analytic plans, and partner records for Nexa Systems Inc.

Install

docker exec odoo-nexa-app odoo -c /etc/odoo/odoo.conf -d nexamain \
  -i nexa_coa_setup --no-http --stop-after-init

Update

docker exec odoo-nexa-app odoo -c /etc/odoo/odoo.conf -d nexamain \
  -u nexa_coa_setup --no-http --stop-after-init

Design reference

See docs/superpowers/specs/2026-05-12-nexa-coa-design.md.

Safety

Always take a pg_dump BEFORE running -i or -u. See docs/superpowers/plans/2026-05-12-nexa-coa-setup.md Phase 0.