Daily updates from Odoo
Wednesday, April 16, 2025
3 changes · master
Resolved issues and error corrections
This update adjusts Odoo spreadsheet features to stay compatible with recent spreadsheet engine changes. It improves chart, pivot table, comments, and field synchronization behavior, including restoring scrolling in read-only pivot panels.
Original PR description
This commit contains adaptations following the o-spreadsheet update. See https://github.com/odoo/odoo/pull/206102
Fixed an issue in Documents where duplicating a selected document could make the browser tab stop responding. The selection now stays focused correctly after duplication, improving reliability for users working with documents.
Original PR description
Reproduce: 1. Open Documents 2. Select a document 3. Duplicate it 4. Close your now non-responsive tab... Updating a state inside onWillUpdateProps triggered a new rendering cycle, where the `list` prop was different each time, and thus looped. Also, we do not change folder (after duplication for example), we must keep focus on the selection and not switch to the containing folder. Task-4717552
Public website visitors now see the intended custom placeholder images for appointment-related products when no product image is set. This avoids fallback to a generic image and keeps appointment and sale pages visually consistent.
Original PR description
Placeholders were introduced in odoo/odoo@c52453f for meta products such as discounts, gift cards, event tickets, and appointments. Previously, access rights prevented public users from viewing these placeholders. Even when no image was linked to a record, access was denied due to read restrictions, defaulting to the generic placeholder instead of the custom one provided by `_get_product_placeholder_filename`. This commit overrides `_can_return_content` in relevant modules to allow proper access for public users, ensuring the intended placeholder is displayed. See also: - https://github.com/odoo/odoo/pull/205693