Daily updates from Odoo
Saturday, December 27, 2025
3 changes · saas-19.1
Resolved issues and error corrections
This update resolves an issue where product names with trailing spaces were causing duplicate entries in delivery descriptions. The fix addresses a combination of problems: a misinterpretation of product names in the sale order process and a lack of trimming of spaces in the product name input field. This ensures consistent and accurate product information in delivery confirmations.
Original PR description
**Steps to reproduce:** 1. Create a product with a trailing space at the end of its name. 2. Create a quotation and confirm it. 3. Open the delivery through stat button. **Observation:** - The…
**Steps to reproduce:** 1. Create a product with a trailing space at the end of its name. 2. Create a quotation and confirm it. 3. Open the delivery through stat button. **Observation:** - The picking description displays the product name twice when the product name ends with trailing spaces. **Cause:** The duplication occurs due to a combination of two issues: 1. **In sale_stock** https://github.com/odoo/odoo/blob/ac6d4f0211e7680b5f5b41537b1e2eb2c9efb239/addons/sale_stock/models/stock.py#L32 products without attributes, `_get_sale_order_line_multiline_description_variants()` returns an `empty` string, yet the code still prepends a newline before the existing picking description. When the product name contains trailing spaces, this newline `+` trailing-space combination causes Odoo to interpret the description as multiple lines, resulting in the product name being duplicated on the picking. 2. **In web,** the char field with `widget="text"` did not trim trailing spaces when saving the value. This allowed product names such as `"Test "` to be stored. **Fix:** - Trim the value entered in `char` fields using `widget="text"` when the field has `trim=True`, preventing trailing spaces from being saved and ensuring consistent description generation. **opw-5351356** Forward-Port-Of: odoo/odoo#238064
This update resolves an issue where flag icons within certain apps (like L10 modules) were misaligned on the kanban cards. The change adjusts the positioning of these icons to ensure they align properly, regardless of user interaction like pressing 'alt'.
Original PR description
In commit[1] the apps icons were aligned on top of the kanbancard. In the cases of apps that display a flag, the flag is misaligned (eg. l10 modules). When pressing alt, a filter is applied which…
In commit[1] the apps icons were aligned on top of the kanbancard. In the cases of apps that display a flag, the flag is misaligned (eg. l10 modules). When pressing alt, a filter is applied which changes the stacking context to the `<aside>` which offsets the flag icon. This change realigns the flag on top of the kanbancard to match the new position of the app icon. Set `<aside>` to position relative to avoid the filter offseting the flag. task-5437786 [1]: odoo/odoo@abaa06a8b3e639be03a1ba0a95629f5b6f73a08a | 19.0 | saas-19.1 | This PR | |--------|--------|--------| | <img width="439" height="110" alt="image" src="https://github.com/user-attachments/assets/06eda607-121c-4089-9341-90564e99788b" /> | <img width="439" height="110" alt="image" src="https://github.com/user-attachments/assets/d6a529ef-5153-4eea-8602-42d09475ce26" /> | <img width="439" height="110" alt="image" src="https://github.com/user-attachments/assets/5e8944a7-361f-4692-a0f9-8fde830007d4" /> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a technical issue where unused sign item roles were accumulating in the database, preventing them from being removed. A simple workaround – creating a dummy sign item – has been implemented to trigger database cleanup and ensure roles are properly managed. This prevents data clutter and improves database efficiency.
Original PR description
Fixes an issue where sign item roles were created but never deleted if they had no sign items linked to them. These orphaned roles were no longer shown in the app and remained in the database indefinitely. To address this, a dummy sign item is now created for each new sign item role. This allows the autovacuum logic to detect and automatically clean up unused roles and dummy items. Without this dummy item, it would be impossible to determine if a role is truly orphaned. task-4971485 Forward-Port-Of: odoo/enterprise#102953 Forward-Port-Of: odoo/enterprise#91189