account_analytic_parent
Reintroduces hierarchical analytic accounts so companies can manage parent-child structures and aggregate figures.
Key Features
- account.analytic.account: Provides parent and child account relations with a stored hierarchical name chain.
- account.analytic.account: Recalculates debit, credit, and balance by aggregating descendant analytic lines in company currency.
- account.analytic.account: Blocks recursive parent assignments to prevent cycles in the analytic hierarchy.
- account.analytic.account: Automatically copies the parent account partner onto child accounts when the hierarchy changes.
- account.analytic.account: Ensures parents are active before activation and cascades deactivation across children.
- account.analytic.account: Computes display names combining code, hierarchical path, and partner to clarify selections.
- accounting UI: Adds the parent selector to analytic account forms and shows the full hierarchical name in list views.
- installation: Recomputes the parent store for analytic accounts during module installation to populate hierarchy data.