Monday, May 13, 2024
6 changes · saas-17.2
Resolved issues and error corrections
This update prevents a web testing helper from failing when XML content contains more than one top-level entry. It improves reliability for internal web development and testing, reducing avoidable errors during quality checks.
Original PR description
Before this commit, parseXml crashed when it was called with a string encoding an xml with multiple roots. This commit fixes the issue. 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-pr
This change fixes an intermittent test failure around live chat conversations appearing in the Discuss sidebar. It improves reliability of automated checks without changing the user-facing live chat experience.
Original PR description
Before this PR, the "unknown livechat can be displayed and interacted with" test was sometimes failing. This was due to a race condition between the sending of a message and the unpinning of the live chat channel. Specifically, the test removed the live chat from the discuss sidebar, but the channel remained pinned when the message was sent. If the live chat was unpinned before the reception of the new message notification, it remained in the sidebar, causing the test to fail. fixes runbot-61160
This update makes point-of-sale related test setup more consistent by ensuring test users have a timezone configured. It helps prevent false test failures in no-demo environments and speeds up some internal test user creation, improving release reliability without changing customer-facing behavior.
Original PR description
Ensuring TZ allows to avoid issues in no-demo mode, notably when a timezone is required in sub records, like appointment types. Runbot-60487
This update fixes a small typo in the messaging test mock data and adds a missing default contact model needed by WhatsApp-related tests. The change helps keep automated testing reliable without affecting day-to-day user workflows.
Original PR description
**Current behavior before PR:** - There is a typo mistake in `add_members` of Discuss Channel mock model. - WhatsApp tests needs an `ir.model` record. Which is not available. **Desired behavior after PR is merged:** - Fixed the typo mistake. - Added a default `res.partner` `ir.model` data. **task**-[3818666](https://www.odoo.com/web#id=3818666&cids=2&model=project.task&view_type=form) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update sets a consistent time zone for point-of-sale restaurant appointment test users so automated checks behave reliably when demo data is not loaded. It helps prevent false test failures related to appointment scheduling details, supporting smoother validation before releases.
Original PR description
Ensuring TZ allows to avoid issues in no-demo mode, notably when a timezone is required in sub records, like appointment types. Runbot-60487
Customer references on subscription portal pages are now displayed correctly regardless of the visitor's language. This prevents important subscription identification details from disappearing when customers view the portal in languages other than English.
Original PR description
We should not rely on the `type_name` field (which is a translated) to determine if an order is a confirmed subscription. To reproduce: - Active a second language (for. ex French) and enable it as well for the current website - Create a subscription, set a customer reference to 'CUST-REF' then confirm it - Click on "Preview" => In English, the 'CUST-REF' is visible in the subscription header, in other languages it was not visible.