Thursday, February 22, 2024
1 change · 17.0
Resolved issues and error corrections
A test for tax report carryover was failing because it was finding more external values than expected. The fix makes the search more specific to only find the intended carryover value, preventing test errors. This ensures the tax reporting tests run reliably without false failures.
Original PR description
In the `l10n_lu_reports` `annual_tax_report` the label `_default_balance` creates an `account.report.external.value` by default. The tests for `tax_report_carry_over` search for all external values expecting to find just the carry-over one, but they find more - so they traceback with "Expected singleton". To fix this, we're changing the search domain to be more specific. Link: https://runbot.odoo.com/web/#id=56375&model=runbot.build.error Runbot error 56375