Daily updates from Odoo
Sunday, May 24, 2026
2 changes · saas-19.2
Resolved issues and error corrections
This update enhances the website translation process by fixing formatting issues like trimmed spaces and preserving text meaning. It also improves the handling of metadata attributes (alt, title, etc.) and prevents multiple translation requests, ensuring more accurate and reliable translations across the Odoo website.
Original PR description
This commit fixes and improves several aspects of the recently merged [translate the whole page]. - Fix formatting issues in the translation like: - Space getting removed while translating - Meaning…
This commit fixes and improves several aspects of the recently merged
[translate the whole page].
- Fix formatting issues in the translation like:
- Space getting removed while translating
- Meaning of text is not preserved after translation.
- Example :
- 'Enhance Your' and '<b>Experience</b>' becomes, 'Enhance Your<b>Enhance Your Experience</b>'
- 'hello <b>world</b>' becomes 'Hola<b>mundo</b>' space is trimmed.
- Exclude non-translatable elements such as `.o_brand_promotion` from
translation.
- Support metadata translation, ensuring that translatable attributes
are correctly handled (`alt`, `title`, `placeholder`, and `value`
attributes).
- Disable the “Translate” button while the translation process is
running to prevent multiple concurrent requests.
[translate the whole page]: https://github.com/odoo/odoo/commit/6e1e359ec6a7ae23cfa7d7c96380f845c7fdcfe5
task-5047714
Forward-Port-Of: odoo/odoo#266216
Forward-Port-Of: odoo/odoo#229894This update fixes an issue where the search bar dropdown was partially obscured by snippet blocks on the /shop page. The fix dynamically adjusts the layout to ensure the dropdown is always visible, improving the user experience when browsing products. This ensures all search results are displayed correctly.
Original PR description
On /shop, when a snippet block sits above the searchbar, the search dropdown was rendered partially hidden behind that block (cropped/unreadable items). Steps to reproduce: =================== 1. Go…
On /shop, when a snippet block sits above the searchbar, the search dropdown was rendered partially hidden behind that block (cropped/unreadable items). Steps to reproduce: =================== 1. Go to /shop. 2. Add a snippet block above the searchbar. 3. Type in the searchbar. => Observed: search results appear cropped, with upper items hidden behind the snippet block above. Root cause: =========== the products grid column (`#products_grid`) has `overflow: auto`, https://github.com/odoo/odoo/blob/d9bb1c1dc90f97b63b87ad762fc4ab36abf7e05f/addons/website_sale/static/src/scss/website_sale.scss#L442 which clips any absolutely-positioned descendant that extends past its bounds. The dropdown's containing block is the searchbar `<form>` (position: relative), which lives inside that column. When the dropdown grew (or flipped to dropup) and extended outside the column, the part outside was clipped, and any positioned snippet siblings above the column painted over the clipped area. Fix: ====== while the dropdown is mounted, lift the `overflow: auto` on its ancestor `div.col` so the menu can extend past the column and paint on top of other content. Done from JS so no SCSS rule has to target the searchbar-specific column. opw-6216317 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#265982 Forward-Port-Of: odoo/odoo#265558