Friday, April 25, 2025
4 changes · saas-18.1
Resolved issues and error corrections
Users can now create new maintenance equipment when the Default GS1 Barcode Nomenclature is enabled. The fix prevents invalid empty barcode values from causing an error, reducing disruption for manufacturing and maintenance teams.
Original PR description
This error is generated when a user tries to `create new equipment`. Steps to Reproduce : 1. Install the `MRP` and `Maintenance` modules 2. Go to Settings and set the `Barcode Nomenclature` to `Default GS1 Nomenclature`. 3. In Maintenace > Equipments > Machine & Tools > New. `TypeError: expected string or bytes-like object, got 'bool'` The error occurs when the system attempts to parse a False value through `parse_barcode`, which expects a string. This commit resolves the error by returning the original condition if a value is false. Sentry:6544673924 OPW : 4725056
Takeout orders created in the Point of Sale now keep the selected pickup time when viewed in the back office. This prevents staff from seeing shifted times caused by timezone handling, reducing confusion around order preparation and customer pickup.
Original PR description
Steps: === - Open Restaurant in POS system. - Create an order with preset as `Takeout` and select desired time. - validate it. - open that order in backend. - Observe the takeout date & time—it differs from the originally selected time. Issue: === - The POS system stores the preset_time in local time directly to the database, but the backend consider it as UTC, leading to mismatched times when displayed. Fix: === - The frontend now sets preset_time in UTC before saving, ensuring consistent time handling across the system. Task: 4477402 Related: odoo/enterprise#77558
This update refreshes the spreadsheet component with fixes that improve formula handling, pivot table subtotal accuracy, and the editing interface. Users should see fewer spreadsheet errors, better performance in formula calculations, and small usability improvements such as cleaner color selection.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/a63687fe3 [REL] 18.1.17 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/a63687fe3 [REL] 18.1.17 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/a51d276d3 [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/a97b45e5e [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/1c66ac404 [IMP] color-picker: remove additional # [Task: 4687930](https://www.odoo.com/odoo/2328/tasks/4687930) https://github.com/odoo/o-spreadsheet/commit/2c6a5b128 [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/e79df5118 [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>
Takeout orders created in the POS now keep the selected pickup time when viewed in the back office. This avoids confusion for staff and customers by making scheduled order times consistent across POS and backend screens.
Original PR description
Steps: === - Open Restaurant in POS system. - Create an order with preset as Takeout and select desired time. - validate it. - open that order in backend. - Observe the takeout date & time—it differs from the originally selected time. Issue: === - The POS system stores the preset_time in local time, but the backend consider it as UTC, leading to mismatched times when displayed. Fix: === - The frontend now sets preset_time in UTC before saving, ensuring consistent time handling across the system. Task: 4477402 Related: odoo/odoo#194058