Tuesday, April 29, 2025
6 changes · saas-18.3
Resolved issues and error corrections
The update ensures website sales tests explicitly enable price lists before relying on them. This keeps automated checks aligned with recent behavior changes and helps prevent false test failures in online shop pricing scenarios.
Original PR description
After e1145d56162a5b88fe56b78abf70f7bd104ead00 we do not compute pricelists unless they are enabled which caused some tests to fail as they expected pricelists to be activated.
The Live Chat agents report now shows its pivot table measures in the intended order. This makes reporting easier to read and helps users find the right metrics more quickly without changing the underlying data.
Original PR description
This PR fixes the order of the reporting measures in the pivot view of the livechat agents report. task-4753008 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an issue where clicking an existing calendar event while adding multiple new entries could refresh the calendar and prevent the event popover from appearing. This makes calendar scheduling more reliable for users working with multiple event creations.
Original PR description
In this commit, we avoid the calendar view to redraw if we click on an event in the "multi create add mode". task-4751083 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue that prevented users from adding section or note lines to quotation templates. Sales teams can now organize quote templates as intended without running into save errors.
Original PR description
### Issue: Numerous SO views were recently cleaned up in PR #167023. However, removing `display_type` from the Quotation Template Form no longer adds the key into the `web_save`, so we'll eventually fail the SQL constraint `_accountable_product_id_required` if we try to add a Section or Note to the Template. ### Solution: Add the hidden `display_type` field back to the view. opw-4757060
This update fixes an automated test for the VoIP Do Not Disturb selector that could fail because different environments format the AM/PM time spacing differently. It improves test reliability without changing the customer-facing VoIP behavior.
Original PR description
"Do not disturb selector changes state correctly with limited time" is failing with this error: ``` 9. [toBe] Failed to find 1 of "p" with text "Until Jan 1, 2025, 1:15 AM" (Timeout of 3 seconds). Found 0 instead. > Expected: true > Received: false ``` Depending on the environment, it seems that the time is sometimes formatted with a nonbreaking space before the AM, and sometimes not. This is likely the reason for the failure. This commit adapts the test in order to exclude the problematic space from the selector.
This update fixes internal test setup issues for fleet-related disallowed expense checks by ensuring the test user has the right fleet permissions. It helps prevent false test failures during validation without changing day-to-day product behavior.
Original PR description
Creating fleet objects requires being a fleet administrator or sudo. However because copying fleet objects (specifically vehicles) as well as posting moves *also* requires those rights, using sudo requires about 20 changes throughout the setup and tests. Maybe fleet will eventually want some more specificity in their test ACL management, but just setting the current user as fleet admin seems to do a good job while avoiding most of the mess. https://runbot.odoo.com/odoo/error/163135 https://runbot.odoo.com/odoo/error/181531 Backport of odoo/enterprise#84108