Daily updates from Odoo
Navigate
Branch
Saturday, December 27, 2025
7 changes
3 changes
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
1 change
Resolved issues and error corrections
This update fixes an issue where avatars in discussion threads were sometimes incorrectly positioned above other elements due to a z-index problem. The change ensures all avatars stack correctly, providing a consistent and professional appearance for users. This improves the overall user experience within Odoo's discussion features.
Original PR description
Before this commit, the avatar's in the avatar stack z-index was derived from the participant’s position in the recordset, resulting in descending z-index values greater than 1. Since .o-mail-DiscussSidebar-top has a z-index of 2, avatars with a higher z-index could incorrectly appear above it when multiple avatars were present. This commit fixes the issue by assigning a fixed z-index of 1 to all avatars, ensuring a consistent and correct stacking behavior. task-5417539 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#240189
2 changes
Resolved issues and error corrections
This update fixes an issue where avatars in discussion threads were sometimes incorrectly positioned above other elements due to a z-index problem. The change ensures all avatars stack consistently, providing a cleaner and more reliable visual experience for users. This improves the overall appearance of discussions.
Original PR description
Before this commit, the avatar's in the avatar stack z-index was derived from the participant’s position in the recordset, resulting in descending z-index values greater than 1. Since .o-mail-DiscussSidebar-top has a z-index of 2, avatars with a higher z-index could incorrectly appear above it when multiple avatars were present. This commit fixes the issue by assigning a fixed z-index of 1 to all avatars, ensuring a consistent and correct stacking behavior. task-5417539 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#240189
This update fixes a vulnerability in the Point of Sale test process. Previously, the test relied on translated button labels, making it susceptible to issues when translations changed. The fix ensures the test uses the default language's decimal separator, improving test stability and reliability.
Original PR description
In the tour added in this commit[^1], they switched the language to French to test `,` as a decimal separator. The test depends on a button label to click that was translated to French. This is pretty brittle since translations can change, and also not necessary for what we need to test. We just change the decimal separator on the current language in the test so the label can keep the source language. This is also done in other places in the tours. (Issue found when translating saas-19.1) [^1]: https://github.com/odoo/odoo/commit/c712835cf7fc364a50ad9797f933df148720e829
1 change
Resolved issues and error corrections
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, ensuring data efficiency and preventing unnecessary storage.
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#102870 Forward-Port-Of: odoo/enterprise#91189