Graeme Gellatly bfa55e80ff [FIX][15.0] partner-statement: Remove need to groupby on amount_currency in Activity Statement
By aggregating before the case statement there is no need to group by amount_currency.

In earlier versions of Odoo this bug only presented in multicurrency transactions as company currency transactions
would have an amount_currency of 0.0 and group by 0.0 just fine.

In later versions of Odoo amount_currency is always set and this causes otherwise identical move lines
that should be summed to display seperately. However, amount_currency was required in groupby because it
was part of a non aggregated case statement with the sum inside.

By reversing the nesting we remove the need to group by amount_currency. This is safe because we already group by
currency_id and aggregates are not evaluated until after group by completes.
2025-07-22 12:17:12 +02:00
2025-02-01 20:43:56 +00:00
2025-02-01 20:43:56 +00:00
2024-10-08 12:47:04 +00:00
2024-10-08 12:47:04 +00:00
2024-10-20 15:39:21 +00:00
2024-10-08 12:47:04 +00:00
2024-10-08 12:47:04 +00:00
2025-02-01 20:43:56 +00:00
2025-02-01 20:43:56 +00:00
2024-10-20 15:39:21 +00:00
2024-10-08 12:47:04 +00:00
2024-10-20 15:39:21 +00:00
2025-07-04 16:31:31 +00:00

Runboat Pre-commit Status Build Status codecov Translation Status

account-financial-reporting

account-financial-reporting

Available addons

addon version maintainers summary
account_financial_report 18.0.1.2.0 OCA Financial Reports
account_tax_balance 18.0.1.0.0 Compute tax balances based on date range

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


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.

Description
No description provided
Readme 31 MiB
Languages
HTML 40.2%
Python 39%
JavaScript 18.6%
CSS 1.9%
SCSS 0.3%