Friday, September 13, 2024
2 changes · master
Resolved issues and error corrections
Performance test expectations for appointment scheduling were adjusted to match recent user settings changes. This keeps internal quality checks accurate without changing how users book or manage appointments.
Original PR description
This commits updates three query counter checks adding three extra queries in order to adapt them to the addition of 1. a new sub query in 'calendar.event' which refers to the 'res.users.settings' table, 2. the fetching of the Default User Template in the 'res.users' model and 3. the search of the current user's 'res_users_settings_id' configuration. related-to: odoo/odoo#162467 task-3850837
Odoo now converts Serbian Latin locale information into a format that browser-based features can understand. This prevents unexpected errors in affected apps when users work with the Serbian Latin language setting.
Original PR description
Serbian is a rare example of "synchronic digraphia", meaning that it has two writing systems that coexist and are used interchangeably by its speakers: Cyrillic and Latin. To handle this feature of Serbian in Odoo, we use a locale with a special modifier to specify the script to use: sr@latin. Problem: This locale is not recognized by the JavaScript APIs that implement the BCP 47 format, which leads to errors when trying to use them with the sr@latin locale. This commit adapts the code to use the properly formatted locale, thus avoiding unexpected crashes. *: sale_timesheet_enterprise, spreadsheet_edition, web_studio Task-4014022 Community: https://github.com/odoo/odoo/pull/172453 Forward-Port-Of: odoo/enterprise#66287 Forward-Port-Of: odoo/enterprise#66061