Thursday, July 10, 2025
5 changes · 17.0
Resolved issues and error corrections
Country names entered during contact imports can now be matched even when users type them in all caps or other capitalization styles. This prevents valid imports from failing simply because the country name formatting does not exactly match Odoo’s stored format.
Original PR description
**Current behavior:** When importing a res.country record, if specifying a `name` then the search performed expects it to exactly match a first-letter-only capitalized pattern. **Expected behavior:** Let arbitrary capitalization be used on the input name string. **Steps to reproduce:** 1. Create a sheet to import to `Contacts` (res.partner) * `name`: anything * `country_id`: "ARMENIA" 2. Load the sheet for import -> test -> can't resolve country name **Cause of the issue:** The `res.country` records' names follow a first-letter-capitalized pattern and we do an exact search on the strings. **Fix:** Use `capitalize()` on the input value when we do the search, which will transform the string into precisely the form we want. opw-4780334
This fixes a regression that prevented menu icons from using image formats other than PNG. Businesses can again use existing GIF, ICO, JPEG, SVG, WebP and related icon files without converting them, restoring compatibility with prior behavior.
Original PR description
Description of the issue/feature this PR addresses: PR #135607 breaks support of image types other than `png` for menu icons. This puts back the support for previously supported image types. Current behavior before PR: You can't use a menu icon which has a type other than `png`. Desired behavior after PR is merged: You can use `gif`, `ico`, `jfif`, `jpeg`, `jpg`, `svg` and `webp` files like version `16.0`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website editor sidebar now keeps layout options within the available space when using longer translated labels, such as Spanish. This prevents an unwanted horizontal scrollbar and makes editing image snippets smoother for users.
Original PR description
Step to reproduce: - Set the odoo backend language to spanish (tested in V16.0) - Go to edit mode - Drop "Text-Image" snippet. - Click on Image from dropped snippet. - Bug: The sidebar "Layout" menu overflows, there is a horizontal scrollbar. Issue: There was an issue with the dynamic width of the we-buttons within the button group. The text in the "Layout" options was overflowing, causing the sidebar to overflow. Solution: This commit addresses the specific issue with the layout option. Without altering any other styles and assuming this is the only case, we equally divide the available space between the buttons using the grid template. task-4378522 Forward-Port-Of: odoo/odoo#189856
Shipping labels sent through the IoT printing flow now include the required print identifier. This prevents unnecessary printer-side errors while keeping label printing reliable for warehouse and delivery teams.
Original PR description
Before this commit, the shipping label printing would send documents to the printer without using a print_id, which would cause an error (but the document would still print). After this commit, we send a print_id using a UUID just like for report printing, ensuring no error occurs on the IoT. opw-4829908
This fixes Amazon order shipping updates so DPD, Hermes, and Royal Mail carriers in Great Britain are recognized correctly when sent through Sendcloud. It helps prevent carrier mismatches that could block or confuse shipping status updates for affected orders.
Original PR description
For DPD and Hermes (not the others), Sendcloud adds an unnecessary ISO code. In order to keep it should it be necessary (e.g. rml_gb), we map them to the Amazon const instead of stripping the code. While testing, it was also found that royal mail seems to have been renamed and was thus not working. Forward-Port-Of: odoo/enterprise#87745