Thursday, May 15, 2025
1 change · saas-18.2
Resolved issues and error corrections
This update fixes unstable automated checks for accounting reports that could fail depending on which accounting features were installed. It helps keep nightly validation reliable without changing customer-facing report behavior.
Original PR description
This commit fix some tests in account_reports which were failing in nightly on the runbot, see error 134654. First test fails because an account number sequence was changing depending on if the accountant module was installed or not. Fix the test by replacing the hardcoded account name by the used bank journal name. Second test fails because of payment_state computation which is different depending on if the accountant module was installed or not. Fix it by using the _get_invoice_in_payment_state method instead of hardcoded value. no task