Sunday, December 22, 2024
4 changes · master
Enhancements to existing features
Performance test expectations were refreshed to match the latest automated test environment results. This is an internal maintenance update that helps keep test checks accurate and reduces false alarms, with no direct change for end users.
Original PR description
Update to current runbot state. Lot of counters are lower. Not sure where it comes from but hey.
Resolved issues and error corrections
Fixes small issues in the updated Trial Balance report so fiscal-year calculations include the correct start date and reports can be grouped in more flexible ways. This helps accounting users get accurate balances and use partner-based groupings without errors.
Original PR description
Minor bugfixes found when testing the new refactored trial balance.
1. Fix condition to be `date >= fiscalyear_start` rather than `date > fiscalyear_start` when filtering out AMLs in P&L accounts before the start of the fiscal year.
2. Enable groupings by other fields than account first; for example, grouping by partner_id then account_id should work:
a. Instead of attempting to de-mogrify the complete grouping key retrieved from Postgres, we instead get its component columns separately. This allows us to gracefully handle the partner_id column being NULL.
b. We only compute the `is_unaffected_earnings` column when it's needed, that is, when we're doing a grouping by account_or_unaff_id.
task-3748928Miscellaneous changes
This commit updates the process to pass the company's currency code to the `_get_accounts` route. By doing so, the server can accurately identify the company's currency. This change is particularly important for supporting testing banks. task-4293992 Forward-Port-Of: odoo/enterprise#75735 Forward-Port-Of: odoo/enterprise#75372
Original PR description
This commit updates the process to pass the company's currency code to the `_get_accounts` route. By doing so, the server can accurately identify the company's currency. This change is particularly important for supporting testing banks. task-4293992 Forward-Port-Of: odoo/enterprise#75735 Forward-Port-Of: odoo/enterprise#75372
Forward-Port-Of: odoo/enterprise#75681
Original PR description
Forward-Port-Of: odoo/enterprise#75681