Tuesday, October 15, 2024
2 changes · master
Resolved issues and error corrections
List views no longer show a misleading currency aggregation error when users display monetary values without totaling the column. This prevents unnecessary confusion while keeping the warning available when aggregation is actually used.
Original PR description
### Impacted versions: 16.0 ### Steps to reproduce: 1. Create list view 2. Use the monetary widget for a column with various currencies. 3. Do not aggregate the column. ### Bug Fix Description: **Bug…
### Impacted versions: 16.0 ### Steps to reproduce: 1. Create list view 2. Use the monetary widget for a column with various currencies. 3. Do not aggregate the column. ### Bug Fix Description: **Bug Description:** Previously, in the `web` module's `list_render`, an issue occurred where an error message was incorrectly being displayed below a table column with multiple currencies, even when the column wasn't being aggregated. This behavior was misleading and could confuse users, as the error message appeared even when it wasn't relevant. **Root Cause:** The error message was triggered regardless of whether the column was being aggregated by the user. This resulted in incorrect behavior and an unnecessary error display. **Resolution:** In this PR, the issue has been addressed by modifying the error display logic. The error message will no longer appear if the user does not choose to aggregate the column. This enhancement ensures that the error message is contextually relevant and only displayed when aggregation is being attempted on the column. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures companies are listed in the expected order in account reports, with the main company shown before its branches. This helps keep report results consistent and avoids confusion when reviewing multi-company data.
Original PR description
Companies will be returned main first then branches. reshuffling the expected results