Tuesday, January 21, 2025
5 changes · saas-18.1
Resolved issues and error corrections
This fixes an internal test setup issue in the point-of-sale self-ordering flow. The test now uses table data that is always available, helping prevent false failures when demo data is not installed.
Original PR description
Before the test `test_preset_eat_in_tour` was using the table 103 which is created in demo data. This table is not created in the test data so the test was failing when trying with no demo. Now the test use the table 1 which is created in the test data. Runbot error: 112371
This fixes an access problem that could prevent Ecuadorian sales orders from loading their default payment method correctly. It helps keep automated checks and normal setup flows from failing unexpectedly for users with limited permissions.
Original PR description
This commit fixes an AccessError on a failing test in runbot, by granting a `sudo` on the default record search for EC Payment Method field. runbot: [102689](https://runbot.odoo.com/odoo/action-573/102689)
Leaving a live chat from Discuss now avoids sending the same leave request more than once. This reduces unnecessary background actions and helps keep chat membership updates cleaner and more reliable for users.
This update adjusts internal performance test expectations after related accounting changes increased the number of database queries during menu loading. It helps keep automated validation aligned with the current system behavior without changing user-facing features.
Original PR description
Following the changes in the related enterprise PR, query counters must be adapted. Some overrides in accounting modules causes the query counter to go up. Runbot Error: 109492
A minor issue in automated accounting menu checks was fixed so results stay consistent whether the reporting app is installed or not. This helps keep the release validation pipeline reliable and avoids false failures during testing.
Original PR description
This commit fixes the second query count in `test_visible_menu_ids` where it is sometimes 1 if `account_reports` is not installed (the xmlid is never cached since it does not exist yet) Runbot Error 109492