Monday, May 26, 2025
3 changes · saas-18.1
Resolved issues and error corrections
Fixed an issue where selecting a name-based preset in Point of Sale could cause an error when the restaurant module was not installed. The change keeps restaurant-specific order naming in the restaurant app and updates tests to cover the correct preset flows, improving reliability for POS users.
Original PR description
- Avoid traceback when using name-based preset without module `pos_restaurant` installed. - Since we cannot change the name of a floating order in POS, move floating order name logic to `pos_restaurant` to prevent errors when using presets with `identification = name` in POS without the `pos_restaurant` module installed. - Adapt tests so in `point_of_sale` we test preset with `identification = address` (delivery) and in `pos_restaurant` we test preset with `identification = name` (take out). Steps to reproduce: - Install `point_of_sale` (without `pos_restaurant`). - Enable presets in settings and create a preset with `identification = name`. - Open a session in POS and create a new order. - Select the preset in the order. - => Traceback occurs. task-id: 4794324 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes the spreadsheet component with fixes that make pivots, charts, scrolling, autocomplete, and translated placeholders behave more reliably. It also improves Excel exports by avoiding unsupported spreadsheet functions, reducing the risk of broken files for users opening them outside Odoo.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ff4b0baf0 [REL] 18.1.22 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ff4b0baf0 [REL] 18.1.22 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/4f474490b [FIX] pivot: `month` granularity sorting [Task: 4781810](https://www.odoo.com/odoo/2328/tasks/4781810) https://github.com/odoo/o-spreadsheet/commit/f3a11516c [FIX] Spreadsheet: reset scroll inertia after some time [Task: 4813296](https://www.odoo.com/odoo/2328/tasks/4813296) https://github.com/odoo/o-spreadsheet/commit/dbe642926 [FIX] ComposerStore: placeholder should be localized [Task: 4817738](https://www.odoo.com/odoo/2328/tasks/4817738) https://github.com/odoo/o-spreadsheet/commit/45cd50149 [FIX] auto_complete: showing all proposal on single match [Task: 4735015](https://www.odoo.com/odoo/2328/tasks/4735015) https://github.com/odoo/o-spreadsheet/commit/74de7a5a3 [IMP] xlsx: prevent exporting the SPLIT function [Task: 4766568](https://www.odoo.com/odoo/2328/tasks/4766568) https://github.com/odoo/o-spreadsheet/commit/e26c0904c [IMP] xlsx: prevent exporting FILTER function [Task: 4766579](https://www.odoo.com/odoo/2328/tasks/4766579) https://github.com/odoo/o-spreadsheet/commit/26b655d14 [FIX] chart: charts changing size on update [Task: 4794364](https://www.odoo.com/odoo/2328/tasks/4794364) https://github.com/odoo/o-spreadsheet/commit/ce9006b3b [FIX] module logical: keep functional behavior on empty ref [Task: 4775222](https://www.odoo.com/odoo/2328/tasks/4775222) https://github.com/odoo/o-spreadsheet/commit/1a975488d [FIX] module logical: vectorize only if valid expression [Task: 4775222](https://www.odoo.com/odoo/2328/tasks/4775222) 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>
Resetting a website header color could previously break the site's styling, especially affecting mobile submenu navigation. This fix keeps the website layout stable when no header color is selected, improving reliability for website editors.
Original PR description
Step to reproduce the issue: - Enter Website edit mode. - Click on the header. - Open the colorpicker of the header in the options. - Click the trash bin icon. - Bug: the CSS of the website is broken. The issue was introduced by this commit [1], where the SCSS `shade-color` function was added to generate the color of the submenu accordion button in the mobile navbar. When no color is selected for the header (which happens after following the steps above), a CSS error occurs because the `shade-color` function requires a valid color to work properly. [1]: https://github.com/odoo/odoo/commit/b975377fe688f10497b75598c0c50bd7b0758367 opw-4793368