Daily updates from Odoo
Friday, April 25, 2025
4 changes · saas-18.2
Resolved issues and error corrections
This update refreshes Odoo's spreadsheet component with fixes that make formulas, pivot tables, color selection, and editing behave more reliably. It also improves formula error handling for better performance, helping spreadsheets remain responsive during everyday use.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/3e8864562 [REL] 18.2.9 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/3e8864562 [REL] 18.2.9 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/43c256342 [PERF] formula functions: replace thrown errors with a return error [Task: 4671645](https://www.odoo.com/odoo/2328/tasks/4671645) https://github.com/odoo/o-spreadsheet/commit/4cf7f95d5 [PERF] formula functions: avoid to use errors derived from native error. [Task: 4671645](https://www.odoo.com/odoo/2328/tasks/4671645) https://github.com/odoo/o-spreadsheet/commit/762e1a676 [IMP] color-picker: remove additional # [Task: 4687930](https://www.odoo.com/odoo/2328/tasks/4687930) https://github.com/odoo/o-spreadsheet/commit/ae60867a7 [FIX] composer: fix stacking context issue in composer [Task: 4623945](https://www.odoo.com/odoo/2328/tasks/4623945) https://github.com/odoo/o-spreadsheet/commit/9176700c4 [FIX] pivot: get column sub-total of calculated measure [Task: 4728690](https://www.odoo.com/odoo/2328/tasks/4728690) 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>
Updated Spanish labels for Peruvian identification types to include their standard abbreviations. This reduces customer confusion when selecting or reviewing tax identification information.
Original PR description
This 'bug' was introduced when translating strings from data files became possible (87fc0d6b). The translation of some fields in Spanish did not include their respective abbreviations leading to confusion of clients. This commit appends the abbreviations of the problematic strings. RD Feedback task: 4679704 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The online store cart now converts customer-entered product quantities to whole numbers, preventing unexpected purchases of tiny fractional amounts like 0.01. This keeps the normal shopping experience consistent while still allowing custom integrations to use fractional quantities when intentionally configured.
Original PR description
Commit 34ba0d3251486a3f7fd16709debb5c2b2d14ffa9 dropped the cast to integer for cart quantities, potentially allowing customers to buy 0.01 quantities of a product, which isn't the expected behavior. This commit casts the values given through the controllers, still keeping the ability for custom code to generate lines with floats as quantities if needed. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website forms with hidden date or date-time fields now submit correctly. This prevents users from getting stuck on an endless loading state when sending forms such as email scheduling forms with hidden date fields.
Original PR description
Scenario: add a form with existing date field (for "Send an E-mail" form the field "Scheduled Send Date" for example) and make it hidden. Fill and send the form. Issue: the form is not send and it spin without end Reason: in b9b3a605e0f4c5da3a258c980107d6162da7f44f the code for fixing date format was rewritten as for loop without nested function. But the return that was used to get to next loop iteration, was not converted to a continue, so if there was a date / datetime widget unfilled (eg. if it is hidden in the form) we would unexpectedly exit the function Form.send without sending the form or enabling the button. opw-4699541 opw-4746416