Saturday, July 4, 2026
1 change · saas-19.2
Resolved issues and error corrections
This update resolves a test failure in the account module's reporting functionality. The fix involved correcting a logic error related to clearing existing data during testing and adding a missing step to ensure data consistency. This ensures accurate reporting and prevents test failures.
Original PR description
The test introduced by d60564a42b7c7b16d1d975146291835b65a19461 was using the field `deferred_move_ids` which is defined by account_accountant. As it is used to clear the pre-existing moves (typically demo data), we are re-using the same conditional as test_tour.py to check whether this field is available. By the way, we also add a missing flush_recordset that caused errors in test_kpi_summary_reports_unreconciled_bank_statements. Runbot-error: [939986](https://runbot.odoo.com/odoo/error/939986) Forward-Port-Of: odoo/odoo#271218