Friday, March 29, 2024
7 changes · saas-17.2
Resolved issues and error corrections
This fix ensures spreadsheet-related list views keep the necessary page context when opening related actions. It prevents errors in cases such as project task lists that depend on the current record information, improving reliability for users.
Original PR description
Adding the current list context to the loadAction call in case some element are needed For exemple the active_id was needed in the project task list view Task-3815748
This fix ensures appointment resource details are always included when grouping calendar events. It prevents crashes and confusing “Undefined Resources” lines when users switch Studio mode in the Resource Bookings Gantt view.
Original PR description
Be sure that resource_ids info are added in the read_group. Indeed, a traceback was raised when the context key appointment_booking_gantt_domain is removed. This context key added a domain to exclude calendar event without appointment resources. This events can then leads to a line with "Undefined Resources" which made the condition `data.get('appointment_resource_ids')` falsy.
For example, this can happen when we toggle studio mode in the gantt view of "Resource Bookings" menu.A spelling mistake in the Website Livechat settings description was corrected from “Alow” to “Allow.” This improves clarity and professionalism in the settings interface without changing any functionality.
Original PR description
Description: Small typo in the Livechat setting description. Desired behavior after PR is merged: Change 'Alow' to 'Allow' in description. opw-3817716
This fixes an issue where automated live chat sidebar tests could fail unpredictably because a channel member timestamp was missing. The change improves test reliability and helps prevent false failures during development without affecting end users.
Original PR description
missing last_interest_dt of channel member can lead to unwanted unpinned channel in test due to race condition. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a small accounting issue caused by an extra comma and improves how tax-related Python rules are processed. The changes reduce the chance of minor accounting configuration problems and make repeated tax rule checks more efficient.
Original PR description
[FIX] account: Fix trailing comma [IMP] account_tax_python: Compile the regex --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix makes Odoo's web test tools handle simulated data and server calls more accurately. It helps prevent test failures caused by incorrect mock behavior, improving confidence in future web changes without affecting end users directly.
Original PR description
This commit fixes two issues. The first one was in the mocked Model, in _unityReadRecords. When reading reference fields, we must read a related record, whose model and id are encoding in the value…
This commit fixes two issues.
The first one was in the mocked Model, in _unityReadRecords. When reading reference fields, we must read a related record, whose model and id are encoding in the value of the reference fields. Before this commit, we read the record on the wrong model (the main one, not the one of the reference field).
The second issue was in the MockServer. Commit [1] recently introduced the function stepAllNetworkCalls to call expect.step() for each server method/route called during the test. However, this didn't work properly for the route /web/dataset/call_kw/<path>. First because of a small mistake ("===" instead of "startswith" to match the route). Second because we didn't call the regular mock function for those routes, leading to crashes as the server always returned undefined.
[1] e721f1c7ce923b8f74abc3fef57ee5e9dd4c43ed
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis fixes unstable automated tests around mail and live chat sidebar behavior caused by timing issues. The change helps prevent false test failures, improving confidence in future updates without changing user-facing functionality.
Original PR description
missing last_interest_dt of channel member can lead to unwanted unpinned channel in test due to race condition. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr