Thursday, June 12, 2025
3 changes · saas-18.2
Resolved issues and error corrections
Website forms now correctly show dependent fields when visibility rules are chained across multiple form fields. This prevents customers or visitors from missing fields that should appear based on earlier answers, improving form completion reliability.
Original PR description
**Problem** Given a form with three elements, A, B, and C, where C visibility depends on the content of B, and B visibility depends on the content of A, when form element B becomes visible, even if…
**Problem** Given a form with three elements, A, B, and C, where C visibility depends on the content of B, and B visibility depends on the content of A, when form element B becomes visible, even if its content should trigger the visibility of C, C remains hidden. Since [1], the check of visibility condition for C fails because it is based on a FormData object created before removing the attribute disabled from B. This doesn't work because FormData does not contain information from disabled elements. **How to reproduce** 1. Add a form snippet on the page 2. Add three new fields to the form 3. Label the fields `fieldA`, `fieldB` and `fieldC` 4. Set `fieldB` to be `visible only if` `fieldA` `Is equal to` `test` 5. Set `fieldC` to be `visible only if` `fieldB` `Is equal to` `test` 6. Save 7. Type `test` in `fieldA` -> `fieldB` becomes visible 8. Type `test` in `fieldB` -> `fieldC` becomes visible 9. Delete `test` from `fieldA` -> both `fieldB` and `fieldC` disappear 10. Type `test` in `fieldA` 11. BUG: `fieldB` appears, contains `test`, but `fieldC` is hidden **Solution** A new function `getFormDataIncludingDisabledFields` is added, which generates a `FormData`-like object that includes disabled elements. [1] odoo@b9b3a60 task-4367641
Unlogged customers requesting an invoice from a point of sale ticket can now edit their company name and VAT number in the form. This fixes a self-invoicing issue that prevented customers from entering the correct billing details, reducing manual follow-up and invoice corrections.
Original PR description
modules: portal, point_of_sale This commit is about the self-invoicing: the 'vat' and 'company name' were not editable when you request an invoice as an unlogged user. Steps to reproduce : - Open a pos session and create an order, pay it (and print the ticket) - Close the pos session - Open a new private window and go to <url>/pos/ticket - Enter the ticket number, the date and the unique code and press "Request invoice" - A form is displayed and the two fields "company name" and "vat" can now be edited Related to task-4777131 Runbot: https://runbot.odoo.com/runbot/bundle/saas-18-2-portal-vat-editable-roto-376921
This update brings the spreadsheet component to a newer version with fixes that make large filters and table operations faster. It also improves data handling and chart readability, reducing slowdowns and display issues for users working with spreadsheets.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ea642091a [REL] 18.2.17 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ea642091a [REL] 18.2.17 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/89a863b18 [PERF] table: faster table extend check [Task: 4864420](https://www.odoo.com/odoo/2328/tasks/4864420) https://github.com/odoo/o-spreadsheet/commit/4af753a6a [FIX] Table: avoid triggering an unecessary evaluation [Task: 4862862](https://www.odoo.com/odoo/2328/tasks/4862862) https://github.com/odoo/o-spreadsheet/commit/972043d06 [FIX] filter: fix horrible performances with huge data filters [Task: 4658998](https://www.odoo.com/odoo/2328/tasks/4658998) https://github.com/odoo/o-spreadsheet/commit/e34194e50 [FIX] Formats: text format should not mark the cell as non-empty [Task: 4856923](https://www.odoo.com/odoo/2328/tasks/4856923) https://github.com/odoo/o-spreadsheet/commit/6d0ce9eb4 [FIX] pie chart: prevent overlapping shown values [Task: 4639810](https://www.odoo.com/odoo/2328/tasks/4639810) https://github.com/odoo/o-spreadsheet/commit/e488546de [FIX] base_extractor: properly handle 0 as default value [Task: 4730308](https://www.odoo.com/odoo/2328/tasks/4730308) 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>