TIP: You can type at any time to perform a new search.
Account Analytic Parent
account_analytic_parent · OCA/account-analytic
- Repository
- OCA/account-analytic · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Accounting & Finance
- Folder size
- 0.22 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-analytic
- Last tracking update
- 2026-08-07 08:42:52
- Authors
- Odoo Community Association (OCA), Tecnativa, Matmoz d.o.o., Luxim d.o.o., Deneroteam, ForgeFlow, CorporateHub
- Maintainers
- Odoo Community Association (OCA), Tecnativa, Matmoz d.o.o., Luxim d.o.o., Deneroteam, ForgeFlow, CorporateHub
- Committers
- LauraCForgeFlow, Weblate, OCA-git-bot, oca-ci, bobrador
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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...
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_analytic_account_form |
account.analytic.account.form | account.analytic.account | form | Inherits analytic.view_account_analytic_account_form |
view_account_analytic_account_list |
account.analytic.account.list | account.analytic.account | list | Inherits analytic.view_account_analytic_account_list |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (5)
-
child_idsOne2many → account.analytic.accountcomodel_name='account.analytic.account'copy=Trueinverse_name='parent_id'string='Child Accounts' -
complete_nameCharcompute='_compute_complete_name'recursive=Truestore=True -
levelIntegeraggregator=Falsecompute='_compute_level'recursive=Truestore=True -
parent_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'index=Trueondelete='cascade'string='Parent Analytic Account' -
parent_pathCharindex=True
-
check_parent_active(self)@api.constrains('active') -
check_recursion(self)@api.constrains('parent_id') -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 44 days ago
- Last activity
- 14 days ago
- Repository
- OCA/account-analytic
- Pull request
- [19.0] [mig] account_analytic_parent (#942)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 155 days ago
- Last activity
- 49 days ago
- Repository
- OCA/account-analytic
- Pull request
- [19.0] [MIG] account_analytic_parent: Migration to 19.0 (#886)