Friday, May 2, 2025
3 changes · saas-18.2
Resolved issues and error corrections
This update improves how the point-of-sale payment screen handles removable zero-quantity order lines, reducing the chance of incorrect cleanup during due settlement. It also streamlines related automated test steps so future changes can be validated more consistently.
Original PR description
- Introduced `canBeRemoved` property in `PosOrderline` to simplify zero-qty line removal logic. - Updated payment screen to use `canBeRemoved` for cleaner filtering. - Added reusable tour helpers: `clickDropDownItemText` and `clickSettleOrderName`. See also: odoo/enterprise#84117 Task [link](https://www.odoo.com/odoo/project/967/tasks/4751971) task-4751971
This update brings the spreadsheet component to its latest maintenance version, fixing several issues around charts, pivot tables, formatting, range deletion, frozen rows, and collaborative editing. Users should see more reliable spreadsheet behavior, better chart exports and display quality, and fewer unnecessary refreshes during everyday use.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/e8ff3fc46 [REL] 18.2.10 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/e8ff3fc46 [REL] 18.2.10 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/e6e60cb10 [FIX] selection_input: fix range deletion [](https://www.odoo.com/odoo/2328/tasks/) https://github.com/odoo/o-spreadsheet/commit/fbccf06de [FIX] chart: avoid useless chart update [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/ad0c3ed69 [FIX] Pivot: allowDispatch invalid pivot dataset [Task: 4756759](https://www.odoo.com/odoo/2328/tasks/4756759) https://github.com/odoo/o-spreadsheet/commit/49d8d1d8e [FIX] bottom_bar_statistic: react to change in cell format [Task: 4747031](https://www.odoo.com/odoo/2328/tasks/4747031) https://github.com/odoo/o-spreadsheet/commit/bc597f95f [FIX] tables: react to change in cell format [Task: 4747031](https://www.odoo.com/odoo/2328/tasks/4747031) https://github.com/odoo/o-spreadsheet/commit/4c52b80a0 [FIX] header_overlay: restore row/col move preview [Task: 4747268](https://www.odoo.com/odoo/2328/tasks/4747268) https://github.com/odoo/o-spreadsheet/commit/5c9479c2e [FIX] xlsx: correctly export aggregated charts [Task: 4714410](https://www.odoo.com/odoo/2328/tasks/4714410) https://github.com/odoo/o-spreadsheet/commit/a280ac312 [IMP] sheetview: lazily re-compute viewports on freeze rows [Task: 3600662](https://www.odoo.com/odoo/2328/tasks/3600662) https://github.com/odoo/o-spreadsheet/commit/660057e76 [FIX] ChartRuntime: take devicePixelRatio in account [Task: 4661712](https://www.odoo.com/odoo/2328/tasks/4661712) https://github.com/odoo/o-spreadsheet/commit/8f373cc54 [FIX] chart: ignore trendline datasets in show values plugin [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/7e19305a1 [FIX] chart: align moving average trendline with bar chart offset [Task: 4653065](https://www.odoo.com/odoo/2328/tasks/4653065) https://github.com/odoo/o-spreadsheet/commit/3ca421fd7 [FIX] package: saas-18.2 is no longer the latest version [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/f81be368b [FIX] grid_overlay: stop interval on error [Task: 4746478](https://www.odoo.com/odoo/2328/tasks/4746478) https://github.com/odoo/o-spreadsheet/commit/42518534e [FIX] Collaborative: Send client position on activeSheet change [Task: 4736980](https://www.odoo.com/odoo/2328/tasks/4736980) 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>
Fixed an issue that caused an error when users selected multiple posted customer invoices and used Send and Print from the list view. The change ensures the process uses the correct invoice records, allowing batch invoice sending to complete reliably.
Original PR description
Currently, a traceback is occurring when the user tries to send and print invoices in batch. <b>To reproduce this issue:</b> 1) Open the customer invoices list view in Accounting 2) Select multiple posted invoices and click send <b>Error:- </b> ``` KeyError: <NewId origin=2125> ``` <b>Cause:</b> The issue arises because the wizard record has not been saved, resulting in an issue in returning the origin id for move while computing the `_compute_alerts` method. This leads to the traceback from the below line because self.id origin id in this case. https://github.com/odoo/odoo/blob/255a612a63be883bf9b73fff1bca4f66db430091/addons/mail/models/mail_thread.py#L1953-L1955 <b>Solution:-</b> Instead of passing the record with origin id, we can pass the actual move record. opw-4750394