Tuesday, February 25, 2025
4 changes · saas-17.4
Resolved issues and error corrections
This change fixes cases where records disappeared when users grouped kanban boards by color. Color values are now handled correctly across affected apps, so grouped views show the expected records instead of empty results.
Original PR description
Description of the issue/feature this PR addresses: - following this commit odoo/odoo@5ef08123, from this…
Description of the issue/feature this PR addresses: - following this commit odoo/odoo@5ef08123, from this [line](https://github.com/odoo/odoo/commit/5ef08123#diff-50c2c0143f95bd9826d9c06cef493589092f92c6bf47eb22d3500991157ab349R669) , now kanban view calls `webReadGroup` with explicit aggregator field, this causes issue when we apply groupby on `color index` field in kanban mode. - As default aggregator of Interger field is 'sum' and when `color` field goes for aggregation, it return a sum of color index, which when converted into domain, fetches 0 result, as color value is evaluated against aggregated value which exceeds limit of 11. - example of damain formed `domain : [["color", "=", 33]]` ( here there are 3 records with color index 11) Current behavior before PR: - If aggreagted values becomes > 11, no result is shown in UI (kanban mode)  Desired behavior after PR is merged: - records are properly grouped  **STEPS TO REPRODUCE THE ISSUE:** -> Go to project -> Then select same color for two or three project with higher color index -> Group by "Color Index" opw-4425778 co-author: hink --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website shop carousel now better handles products with many variants when set to show newest products and hide variants. This helps ensure customers see the intended number of products instead of a shortened carousel.
Original PR description
Versions -------- - saas-17.4+ Steps ----- 1. Create a new product with a lot of variants; 2. publish it to the website; 3. edit the website home page to add a product carousel; 4. set it to display…
Versions -------- - saas-17.4+ Steps ----- 1. Create a new product with a lot of variants; 2. publish it to the website; 3. edit the website home page to add a product carousel; 4. set it to display newest products & hide variants. Issue ----- Fewer than 16 products are displayed in the carousel. Cause ----- Unlike the other product filters handled in https://github.com/odoo/odoo/pull/189040, the "Newest Products" filter is defined in `data/data.xml`, and stored as a record. This means it doesn't use the `_get_products` method to perform the search, instead using the `_prepare_values` method from the `website` module. For obvious reasons, the method defined in `website` doesn't take the `hide_variants` parameter into account to get the correct amount of search results: https://github.com/odoo/odoo/blob/0f64298c871ffea088a4fe6255d19852c8348159/addons/website/models/website_snippet_filter.py#L102-L108 Instead it passes 16 `product.product` records to the `_filter_records_to_values` override in `website_sale`, where duplicate templates are filtered out, resulting in fewer than 16 product templates: https://github.com/odoo/odoo/blob/0f64298c871ffea088a4fe6255d19852c8348159/addons/website_sale/models/website_snippet_filter.py#L73-L76 Solution -------- When calling `super()._prepare_values` for stored `product.product` filters, temporarily square the usual limit for the search, and filter reduce to size later. This may still be inadequate when working with products with dozens of variants, but should cover most normal use cases without requiring drastic changes to filter templates or search domain in stable. On master, we could add a new filter specifically for `product.template`. opw-4302856
The self-order confirmation page now waits until an order is properly ready before trying to print it. This prevents printing errors for customers or staff using slower network connections, improving checkout reliability.
Original PR description
At confirmation page, we wait 500 ms before printing the order. That led to some problems when the user did not have a good network connection since the order was not yet initialized that the order would be printed and thus leading to an error. Here, if the order is not initialized yet, we reset a timeout to print the order runbot-error: 111762 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update brings the spreadsheet engine to a newer version with fixes for charts, autocomplete behavior, sheet duplication, pivots, tables, and collaborative editing. Users should see fewer errors and more consistent results when working with complex or shared spreadsheets.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/163efbdb8 [REL] 17.4.24 Task: 0 https://github.com/odoo/o-spreadsheet/commit/19c7ef445 [FIX] chart: pyramid chart…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/163efbdb8 [REL] 17.4.24 Task: 0 https://github.com/odoo/o-spreadsheet/commit/19c7ef445 [FIX] chart: pyramid chart datasets are wrong in the panel Task: 4517138 https://github.com/odoo/o-spreadsheet/commit/4f2edcfb2 [FIX] composer: broken layout for long list suggestions Task: 4456224 https://github.com/odoo/o-spreadsheet/commit/a89fca642 [FIX] composer: wrong size for autocomplete dropdown Task: 4456224 https://github.com/odoo/o-spreadsheet/commit/69dce1987 [FIX] popover: scroll lost on re-render Task: 4456224 https://github.com/odoo/o-spreadsheet/commit/525e773bd [MOV] test: move some composer tests in correct files Task: 4456224 https://github.com/odoo/o-spreadsheet/commit/7a2acb657 [FIX] uuid: remove black magic to generate uuid Task: 4574102 https://github.com/odoo/o-spreadsheet/commit/fde7b7bc9 [IMP] monkey party: add a command to run monkey party test Task: 0 https://github.com/odoo/o-spreadsheet/commit/51ef10600 [FIX] tests: remove mock uuid Task: 0 https://github.com/odoo/o-spreadsheet/commit/669dbe8e4 [FIX] data: migration 14.5 never run Task: 0 https://github.com/odoo/o-spreadsheet/commit/8b7d00d83 [IMP] tests: improve toHaveSynchronizedExportedData perf Task: 0 https://github.com/odoo/o-spreadsheet/commit/3451b21c2 [FIX] tables: duplicate table in deterministic order Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/de2e91ecd [FIX] pivot: deep copy pivot data Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/d4a4b7275 [FIX] table: reject cmd with range on invalid sheet Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/91cc10acf [FIX] pivot: reject command with invalid pivot id Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/98e5a57e9 [FIX] evaluation: re-trigger evaluation after DUPLICATE_SHEET Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/ba480c15d [FIX] evaluation: invalidate on concurrent dropped command Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/de1d5a11e [FIX] header_position: compute only existing sheets Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/ae8766488 [IMP] jest: add toHaveSynchronizedEvaluation matcher Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/e9a91b3f8 [FIX] charts: duplicate chart in deterministic order Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/8f847f17c [FIX] header_positions: compute positions for concurrent new sheets Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/7419bbfc2 [FIX] data_validation: don't crash `allowDispatch` Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/880df527e [FIX] collaborative: rebase pending concurrently with undo Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/e521d87b0 [FIX] sheet: concurrently create sheet with the same id Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/1ae355fd3 [FIX] sheet: prevent duplicating with the same id Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/b675930f2 [FIX] cell: delete cells on sheet deletion Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/29e6897dd [FIX] CF: reject invalid range sheet Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/d80dbc21f [IMP] tests: collaborative monkey party Task: 4567308 https://github.com/odoo/o-spreadsheet/commit/131611aa0 [FIX] pie_chart: use chart background for border color Task: 4570603 Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>