Tuesday, April 8, 2025
8 changes · saas-18.1
Resolved issues and error corrections
This fix makes point of sale automated test refreshes wait until local browser data updates are complete. It helps prevent intermittent test failures in quality checks, improving release reliability without changing normal user workflows.
Original PR description
When refreshing during tours, we need to ensure that all indexedDB transaction are done, otherwise we can have some issues. Runbot errors: 161900, 161901 Backport of #203690
This fixes an issue where automated tests could not be selected when the test file name contained dashes. It improves reliability for internal testing workflows and helps ensure relevant tests run as expected.
Original PR description
Before this commit a file containing dashes wouldn't work with test-tags Backport of odoo/odoo#196774
POS sessions now receive a temporary name until the opening amount is confirmed. This prevents unused session numbers from being skipped when a session is abandoned early, keeping records continuous and accurate.
Original PR description
Before this commit, opening a session would immediately assign a sequence name, even before the opening control step was completed. If the user clicks on the backend, the session would be deleted but the sequence number would be skipped, leading to gaps. With this fix, sessions are first assigned a temporary name upon creation. The final sequence name is only generated after the opening amount is set, ensuring that the sequence remains continuous and accurate. opw-4711954 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mobile mail interface now correctly shows the Mark as Unread option for messages. This restores a missing action for mobile users, making message management consistent across devices.
Original PR description
Before this commit, The 'Mark as Unread' button was missing in the mobile view because the `set-new-message-separator` action relied on `component.isOriginThread`. `isOriginThread` property exists on the `Message` component but not on `MessageActionMenuMobile`, which is used in mobile view. This commit fixes the issue by removing the dependency on `isOriginThread` from `message-actions` and instead introducing an inline condition. As a result, the 'Mark as Unread' button now displays correctly on mobile. task-[4686591](https://www.odoo.com/odoo/project/1519/tasks/4686591)
This fix prevents an error from appearing when a user refreshes the page for an archived product that uses unit-of-measure fields. It ensures archived products are handled safely, improving reliability for product management workflows.
Original PR description
**Steps to reproduce the bug:** - Create a storable product - Archive it - Refresh the page **Problem:** A traceback is triggered: `TypeError: Cannot read properties of undefined (reading 'uom_id')`…
**Steps to reproduce the bug:** - Create a storable product - Archive it - Refresh the page **Problem:** A traceback is triggered: `TypeError: Cannot read properties of undefined (reading 'uom_id')` This happens because, during setup, the updateReferenceUnit function is called: https://github.com/odoo/odoo/blob/9fb46cdbc553e7ac91aeccf9779af37c018a7327/addons/uom/static/src/components/many2x_uom_tags/many2x_uom_tags.js#L38 In this function, a "search_read" is performed to fetch the product: https://github.com/odoo/odoo/blob/9fb46cdbc553e7ac91aeccf9779af37c018a7327/addons/uom/static/src/components/many2x_uom_tags/many2x_uom_tags.js#L43 However, by default, the search only looks for non-archived products. As a result, the archived product isn't found, and the code still tries to access its uom, which leads to an error: https://github.com/odoo/odoo/blob/9fb46cdbc553e7ac91aeccf9779af37c018a7327/addons/uom/static/src/components/many2x_uom_tags/many2x_uom_tags.js#L44 opw-4701779
After Brazilian electronic invoicing is completed, the system no longer shows a misleading warning about missing tax data. This reduces confusion for users because that tax data is intentionally cleared once it is no longer needed.
Original PR description
This doesn't end up blocking any flow, but it's confusing to have the warning there. l10n_br_edi_avatax_data is deliberately cleared after EDI, because it's no longer needed afterwards. opw-4673601
The POS IoT scale test now verifies that the price shown after weighing an item matches the expected amount. This helps prevent pricing errors from reaching users when products are sold by weight.
Original PR description
See community PR odoo/odoo#204757 for the bugfix. This commit adds a step to the scale tour to check that the computed price in the popup matches the expected value. The tour is also refactored slightly to make use of POS test helpers. task-4702650
Fixed an issue where dates in the Time Off Gantt view popover could appear with the day and month in the wrong order. This keeps the popover title consistent with the Gantt view and reduces confusion when reviewing time off entries.
Original PR description
Steps: - Navigate to Management > Time Off > Gantt View. - Click on a pill to open the popover. Issues: - The date format in the title showed 30/10/2025 instead of 03/10/2025. - Causing inconsistency between the title and the Gantt view. Fix: Updated date formatting to ensure the title and popover both display dates are same in the MM/DD/YYYY format with leading zeros. Task - 4660785