Saturday, November 22, 2025
3 changes · saas-18.4
Enhancements to existing features
This update stores Japanese state names directly in Japanese instead of relying on translations. It also adjusts the state codes to match ISO standards, improving consistency and making location data more accurate for users in Japan.
Original PR description
Since state names are not handled by translations, storing them directly in Japanese provides a better user experience. This **PR** updates the existing Japanese state records with their native Japanese names. Additionally, it aligns the state codes as per ISO standards. **task**-5345872 Forward-Port-Of: odoo/odoo#236649
Resolved issues and error corrections
Odoo now uses the updated official state code for Odisha in India. This helps ensure customer details and sales documents use the correct regional information and avoids mismatches when creating orders.
Original PR description
**Steps to reproduce:** 1. Install the `Contacts` module. 2. Go to Contacts > Create a new contact. 3. Select country India, and state Odisha. 4. Create a sales order using the newly created contact. **Issue:** As per [Government of India](https://www.iso.org/obp/ui/#iso:code:3166:IN), the state code was officially changed from "OR" to "OD" in 2023. However, Odoo still uses the outdated code. <img width="407" height="163" alt="image" src="https://github.com/user-attachments/assets/1631a831-f455-4a51-886f-7e4ed691add0" /> **Solution:** Update the name of the state from "OR" to "OD" in state records. **opw-4935633** Forward-Port-Of: odoo/odoo#234697
This update fixes how the mail module simulates browser settings in automated tests. It ensures the test helper is used with the right platform information, which helps keep test behavior accurate and prevents misleading results.
Original PR description
The `mockUserAgent()` is meant to be used with a "platform" ("mac",
"windows", "android"...) as parameter and not a whole user agent string.
In specific cases, a custom string can be used instead, but only to be
added to the user agent string.
This commit adapts its usage(s) accordingly.
Forward-Port-Of: odoo/odoo#236837