Friday, May 10, 2024
2 changes · saas-17.1
Resolved issues and error corrections
Fixed an issue that could show a blank screen when opening a restaurant point-of-sale session on iOS 15 or older. This restores access for staff using older Apple devices and avoids disruption during restaurant service.
Original PR description
Before this commit: When you start a POS restaurant session in Chrome/Safari on iOS 15 or older devices. => It shows a blank screen and throws a `typeError` as `toSorted()` isn't supported. `toSorted()` is introduced in iOS 16. After this commit: Restaurant session screen works properly. As it's all about compatibility, This is a browser compatibility table for `toSorted()` vs. `slice()`, `sort()` (check below for reference)  Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toSorted https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort opw-3908355
Fixed an issue that caused an error when users opened live chat session history on mobile devices. The live chat history now uses a supported method to load conversation details, improving reliability for mobile support workflows.
Original PR description
**Current behavior before PR:** when opening livechat session history from the session history listview in mobile it results in error because the function "fetchChannelInfo" uses to fetch the channel info was removed in this Commit [ [1](https://github.com/odoo/odoo/commit/18384bb519d95e937ea4cfdd660ac08ba89214c0) ] **Desired behavior after PR is merged:** Resolved issue by replacing error causing function with alternative "getOrFetch" function. Task-3889899 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr