Skip to content

Commit 185e11a

Browse files
committed
[IMP] accounting: reports groupby non-stored fields
In 18.0, [this commit](odoo/enterprise@3fcf1ae) added the ability to group by fields that are non stored. This commit adds documentation about how to use the feature. task-4698321 closes #14060 X-original-commit: adade2f Signed-off-by: Audrey Vandromme (auva) <auva@odoo.com> Signed-off-by: Thomas Becquevort (thbe) <thbe@odoo.com>
1 parent 4200ca0 commit 185e11a

File tree

7 files changed

+165
-97
lines changed

7 files changed

+165
-97
lines changed

content/applications/finance/accounting/get_started/consolidation.rst

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ own books, into a unified view, providing a "fair image" of the entire group's f
88
It helps create a clear, comprehensive view of the group's financial performance by combining data
99
from multiple companies.
1010

11-
.. _consolidation_in_odoo:
12-
13-
How it Works in Odoo
14-
====================
11+
.. note::
12+
Consolidating companies involves **legally separate entities**, whereas :ref:`branches
13+
<general/branches>` are **subdivisions** of a single legal entity which often share the
14+
head office's resources (journals, taxes, accounts, fiscal positions) and are not consolidated in
15+
the same way.
1516

1617
.. _consolidation_tools:
1718

18-
Consolidation Tools
19-
-------------------
19+
Consolidation tools
20+
===================
2021

2122
**Several tools** combined together will contribute to the construction of the financial
2223
consolidation:
@@ -35,6 +36,36 @@ consolidation:
3536
.. note:: :ref:`Import mapping <consolidation_import_account_mapping>` or merge existing
3637
accounts using the :ref:`merging tool <consolidation_merge_tool>` can simplify the process.
3738

39+
When multiple accounts from one company are mapped to a single account in another, it is then
40+
possible to group the multiple accounts into a single line in the other company's reporting by
41+
:ref:`grouping by <customize-reports/lines-group-by>` the *account code* (`account_code`) rather
42+
than the *account ID* (`account_id`).
43+
44+
.. note::
45+
Some reports, such as the :ref:`profit and loss <accounting/reporting/profit-and-loss>`, split
46+
the lines into different sections by account type. When these reports are grouped by account
47+
code, the section splits are maintained, but within each section, line grouping by account
48+
code is respected.
49+
50+
.. example::
51+
Belgian Company is a parent company with a subsidiary, American Company. American Company has
52+
five income accounts:
53+
54+
- 400000 Product Sales - Domestic
55+
- 400100 Product Sales - International
56+
- 410000 Service Revenue - Consulting
57+
- 420000 Subscription Revenue
58+
- 430000 Freight & Handling Revenue
59+
60+
All five of the US income accounts correspond to one single income account (700000 Income) in
61+
the Belgian Company.
62+
63+
For the Belgian Company's profit and loss report to show one line for all of the American
64+
Company's combined income accounts related to the Belgian Company's single income account, all
65+
five income accounts from the American Company must be mapped to The Belgian Company's 700000
66+
Income account, and the report's lines must be :ref:`grouped by
67+
<customize-reports/lines-group-by>` the account code.
68+
3869
.. _consolidation_multi_ledgers:
3970

4071
#. **Multi-Ledgers:** Ledgers are fundamental to the process of consolidation. They are either:
@@ -101,18 +132,9 @@ consolidation:
101132
.. important::
102133
The rates used are those of the company currently selected.
103134

104-
.. _consolidation_companies_vs_branches:
105-
106-
Consolidating Companies vs. Branch Management
107-
---------------------------------------------
108-
109-
Consolidating companies involves **legally separate entities** whereas branches are
110-
**subdivisions** of a single legal entity which often share the head office's resources (journals,
111-
taxes, accounts, fiscal positions) and are not consolidated in the same way.
112-
113135
.. _consolidation_merge_tool:
114136

115-
Account Merging
137+
Account merging
116138
===============
117139

118140
Accounts can be merged to reduce the number of accounts and standardize them across companies. This
@@ -136,7 +158,7 @@ companies, just as if the account had been directly created to be shared.
136158

137159
.. _consolidation_unmerge_tool:
138160

139-
Account Unmerging
161+
Account unmerging
140162
=================
141163

142164
Accounts can also be unmerged if needed.
@@ -162,7 +184,7 @@ shared account.
162184

163185
.. _consolidation_import_account_mapping:
164186

165-
Import a Mapping
187+
Import a mapping
166188
================
167189

168190
To **import an account mapping**, select all the related companies in the company selector at the

0 commit comments

Comments
 (0)