Bakes the staging-side one-off collision clearing into the module install itself so production install will execute the same sweep automatically. For each of the 29 l10n_ca codes that conflict with Nexa's planned chart: - If the account has zero postings: suffix code with '.OLD', mark inactive, rename to '(l10n_ca LEGACY) <original>' - If the account has postings (currently 115100 AR control with 240 lines and 511100 Inside Purchases with 1 line): leave alone (Nexa renumbered to 119100 / 511105 in the XML) Idempotent — pre_init_hook re-running has no effect (already-suffixed codes are skipped). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2026 Nexa Systems Inc.
|
|
# License OPL-1
|
|
{
|
|
"name": "Nexa Systems — Chart of Accounts Setup",
|
|
"version": "19.0.1.0.0",
|
|
"category": "Accounting/Localizations/Chart of Accounts",
|
|
"summary": "Custom CoA, taxes, fiscal positions, analytic plans, and intercompany partner setup for Nexa Systems Inc.",
|
|
"author": "Nexa Systems Inc.",
|
|
"website": "https://nexasystems.ca",
|
|
"license": "OPL-1",
|
|
"depends": [
|
|
"account",
|
|
"account_accountant",
|
|
"l10n_ca",
|
|
"analytic",
|
|
"sale_management",
|
|
"purchase",
|
|
"sale_subscription",
|
|
],
|
|
"data": [
|
|
"security/ir.model.access.csv",
|
|
"data/01_account_account.xml",
|
|
"data/02_account_journal.xml",
|
|
"data/03_account_tax.xml",
|
|
"data/04_account_fiscal_position.xml",
|
|
"data/05_account_analytic_plan.xml",
|
|
"data/06_account_analytic_account.xml",
|
|
"data/07_product_category.xml",
|
|
"data/08_res_partner_category.xml",
|
|
"data/09_res_partner.xml",
|
|
"data/10_account_reconcile_model.xml",
|
|
],
|
|
"pre_init_hook": "pre_init_hook",
|
|
"post_init_hook": "post_init_hook",
|
|
"installable": True,
|
|
"application": False,
|
|
"auto_install": False,
|
|
}
|