TIP: You can type at any time to perform a new search.

Security findings

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
account_analytic_parent_plan_restrict
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 info_outline

Views touched (2)
XML IDNameModelTypeStatus
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_ids One2many → account.analytic.account
    comodel_name='account.analytic.account' copy=True inverse_name='parent_id' string='Child Accounts'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True
  • level Integer
    aggregator=False compute='_compute_level' recursive=True store=True
  • parent_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' index=True ondelete='cascade' string='Parent Analytic Account'
  • parent_path Char
    index=True
Public methods (3)
  • 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
89 days ago
Last activity
59 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
200 days ago
Last activity
94 days ago
Repository
OCA/account-analytic
Pull request
[19.0] [MIG] account_analytic_parent: Migration to 19.0 (#886)