OdooWiki OCA HUB

Account Analytic Parent

account_analytic_parent folder_open OCA/account-analytic open_in_new
Accounting & Finance License: AGPL-3

This module reintroduces the hierarchy to the analytic accounts as it was in previous versions of Odoo. This module is a base module for other modules to manage the hierarchy concept in analytics.

It also exposes a computed Level field expressing the depth of each account within its subtree: level 0 for a leaf account (no children), level 1 for a parent whose children are all leaves, level 2 for a grandparent...

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you organise analytic accounts in a parent/child tree, so costs and revenues can be analysed at any level of a hierarchy. Each account shows its full path name and its depth level.

This module brings back a tree structure for analytic accounts, which are the labels used to tag costs and revenues for analysis.

On the analytic account form you get two new fields: a "Parent Analytic Account" to attach the account under another one, and a "Level" showing how deep the account sits in the tree (0 for an account with no children, 1 for a parent of leaves, and so on). In the list view, the account name is replaced by the full path name (for example "Training / Online") and the level column is available but hidden by default.

Business rules added by the module: - You cannot create a loop: an account cannot be its own ancestor. - When you pick a parent, the partner of the parent is copied onto the child account. - You cannot activate a child while its parent is still archived; Odoo asks you to activate the parent first. - Archiving a parent automatically archives all its children.

Balances are recalculated so that a parent account shows the totals of all accounts below it, converted into the company currency. The module also changes the display name of analytic accounts to include the code, the full path and the customer name when one is set.

Depends on

accountanalytic
Models and fields (1)
  • account.analytic.account · extends an existing modellevel, child_ids (Child Accounts), parent_id (Parent Analytic Account), parent_path, complete_name

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/account-analytic.

terminal Installation and usage

OCA documentation · Odoo 19.0

Activate the analytic accounting in Accounting \> Configuration \> Settings

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.