odoo/odoo#236366
Created by fw-bot
Merged
at 2974ef1f6f823f443ec403de59664baa9a22715f
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 15s)
- ci/documentation: (runtime 822s)
- label
- odoo-dev:saas-18.4-18.0-fix-check-balanced-error-jol-478138-fw
- head
- 700a81816c18d19d407ca7ebed76107a59e357f2
- merged
- 7 months ago by Accounting, Florian Gilbert (flg)
| odoo/odoo | |
|---|---|
| 18.0 | #236212 |
| saas-18.2 | #236287 |
| saas-18.3 | #236327 |
| saas-18.4 | #236366 |
| 19.0 | #236398 |
| saas-19.1 | |
| saas-19.2 | |
| saas-19.3 | |
| master | #236405 |
[FIX] account: Improve error message in _check_balanced()
The commit 3467b5971423f70581c6be2caf7f8a8d86ee70f1 intended to improve the error message in _check_balanced() by tailoring it based on the number of affected entries.
However, in the case of multiple affected entries, the error was raised after the first iteration, preventing the full list of unbalanced entries from being collected and displayed to the user.
no-task
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #236212