Account Move Line Cumulated Balance
account_move_line_cumulated_balance · OCA/account-financial-reporting
OCA/account-financial-tools 13.0 → OCA/account-financial-reporting 17.0–18.0
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module adds a dedicated journal items list to use Odoo's native cumulated balance.
The value is computed by account.move.line from the current list domain and sort
order, so it behaves like a running balance for the records displayed in the
view.
To avoid expensive accidental computations, the dedicated action only computes the cumulated balance when the list is grouped or filtered by account.
When the list has a lower date filter, the cumulated balance includes the initial balance before that date for each account, while keeping the visible lines restricted to the selected period.
If the list is grouped by additional stored fields, such as partner, the visible cumulated balance and the initial balance are computed independently for each group.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_line_graph_date_cumulated_balance |
account.move.line.graph.cumulated.balance | account.move.line | graph | New |
view_account_move_line_filter_cumulated_balance |
account.move.line.search.cumulated.balance | account.move.line | search | Inherits account.view_account_move_line_filter |
view_move_line_pivot_cumulated_balance |
account.move.line.pivot.cumulated.balance | account.move.line | pivot | New |
view_move_line_tree_cumulated_balance |
account.move.line.list.cumulated.balance | account.move.line | list | Inherits account.view_move_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
cumulated_balanceMonetaryaggregator='max'
-
read_group(self, domain, fields, groupby, offset=0, limit=None, orderby=False, lazy=True)@api.model
Loading…
Loading…