Saturday, July 4, 2026
1 change · saas-19.3
Resolved issues and error corrections
This update resolves a bug in a test related to account reporting, specifically impacting how demo data is handled. The fix includes a necessary step to ensure test data is properly cleared, preventing errors in related reports. This improves the reliability of our reporting features.
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