Friday, May 2, 2025
3 changes · saas-18.2
Resolved issues and error corrections
This fixes point-of-sale customer account settlements when invoices are involved. Settling a due amount no longer creates a new debt, and payments made on the invoice in the backend are now reflected correctly in the POS.
Original PR description
- This fix backport some of the changes made in the `master` PR (https://github.com/odoo/enterprise/pull/80267) to the `saas-18.2 branch`. - Multiples issues were appearing when invoicing a POS order…
- This fix backport some of the changes made in the `master` PR (https://github.com/odoo/enterprise/pull/80267) to the `saas-18.2 branch`. - Multiples issues were appearing when invoicing a POS order containing settling lines. In this fix we put the quantity of the settling lines to 0 before sending it to the backend (as it's done in `master`), that way when invoicing the settling order it just act as a note and does not create a new debt. - When paying an order with customer account and generating an invoice from PoS, now we can pay (partially or not) the invoice from the backend, and it will be reflected in the PoS (as it's done in `master`). First issue to reproduce (settle order with invoicing): - Open PoS - Select a customer - Pay a product with customer account - Open customer popup and search for this customer (he should have a debt based on the previous amount) - Settle the due account - Click "Payment" - Enable "invoice" - Pay with card - => Open customer popup and look for this customer again, he still have a debt Second issue to reproduce (paying invoice from backend): - Open PoS - Select a customer - Pay a product with customer account - Open customer popup and search for this customer (he should have a debt based on the previous amount) - Close PoS session - Open the backend and go to the customer invoice - Open the invoice and pay it half of the amount - Go back to PoS and open the customer popup - Search for this customer and click settle due accounts - The amount due from the PoS order is not the same (the amount paid from the backend is not reflected in the PoS) task-id: 4751971 community PR: https://github.com/odoo/odoo/pull/207444
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