oca-financial/odoo-bringout-oca-account-analytic-account_analytic_root/account_analytic_root
2025-08-29 15:43:04 +02:00
..
i18n Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
models Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
readme Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
static/description Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
tests Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
__init__.py Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
__manifest__.py Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00
README.rst Initial commit: OCA Financial packages (186 packages) 2025-08-29 15:43:04 +02:00

=====================
Root Analytic Account
=====================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:acacdde8ec0b4d5abbe297f677fa632b9b6e592809a8a01353a22c0416f4f31c
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github
    :target: https://github.com/OCA/account-analytic/tree/16.0/account_analytic_root
    :alt: OCA/account-analytic
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-account_analytic_root
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=16.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

For each analytic account, defines the root analytic account, i.e. the parent account the most high up in the hierarchy. If there is no parent account, the root account is the account itself.

This module is useful for analytic reporting (via bi_view_editor for instance) of accounts organized in hierarchy. 

The parent account cannot be used for reporting if there is more or less than two hierarchical layers, and if the parent accounts are used directly as account in the analytic lines. 

Having root parent analytic account enable aggregate reporting for hierarchy of accounts that is not 

For instance, let's assume we have a analytic account hierarchy like:

- Account A / Account AB / Account ABC
- Account B
- Account C / Account CB

If we group by parent analytic account we get:

- Account A 
- Account A / Account AB 
- Account C
- no value


If we group by root analytic account we get:

- Account A
- Account B
- Account C

Which is much cleaner.

**Table of contents**

.. contents::
   :local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_root%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Coop IT Easy SC

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-victor-champonnois| image:: https://github.com/victor-champonnois.png?size=40px
    :target: https://github.com/victor-champonnois
    :alt: victor-champonnois

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-victor-champonnois| 

This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/16.0/account_analytic_root>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.