Monday, July 8, 2024
8 changes
1 change
Resolved issues and error corrections
This update brings the spreadsheet component to a newer version with several fixes for common spreadsheet actions. It improves reliability when deleting rows, pasting content, using number formats, charting cumulative data, and working with broad cell references, reducing user-facing errors in spreadsheet workflows.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/acfb3e71e [REL] 17.2.15 Task: 0 https://github.com/odoo/o-spreadsheet/commit/6ea19c264 [FIX] border: bottom sheet…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/acfb3e71e [REL] 17.2.15 Task: 0 https://github.com/odoo/o-spreadsheet/commit/6ea19c264 [FIX] border: bottom sheet borders removed on DELETE_ROWS Task: 3911695 https://github.com/odoo/o-spreadsheet/commit/6497e8c6a [FIX] locale: handle undefined thousands separator Task: 0 https://github.com/odoo/o-spreadsheet/commit/c2d6eab35 [FIX] chart: cumulative not working for linear charts Task: 4028957 https://github.com/odoo/o-spreadsheet/commit/f00e760ee [FIX] grid: prevent paste default Task: 3949903 https://github.com/odoo/o-spreadsheet/commit/a59ed517f [FIX] parser: `parse` should handle unbounded references Task: 4010920 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: 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>
3 changes
Enhancements to existing features
Users can now set a default signature template on activity types that request signatures. This reduces time spent searching through templates and helps teams choose the right document while still allowing changes when sending the request.
Original PR description
### Purpose When user schedule activity of 'Request Signature' type, and request for signature then needs to select a template for signature. If user has important role in company then need to browse through lot of templates and if not then don't know which template to be selected. ### After this PR When user create activity type with 'Request Signature' action then user will be able to select default template over there and it will populate as default template to scheduled activity of 'Request Signature' type. Also user can change the template while requesting the signature. Task-3895712
Point of Sale scale screens now include a tare button and automatically update item prices when the tare weight changes. This helps cashiers price weighed products more accurately and reduces manual adjustments at checkout.
Original PR description
- Added tare button for automatic scaling of the tare weight. - Added automatic price adjustment based on tare weight changes. Task ID: 3984103 Related: https://github.com/odoo/odoo/pull/170592
Spreadsheet pivot tables now support newer, more precise date grouping options, making reports easier to organize and analyze. The older duplicate year grouping option is removed in favor of the standard year number option, keeping reporting choices clearer.
Original PR description
This commit adds the support for the new granularities added in https://github.com/odoo/odoo/pull/159528. It also drops the support of `year` as it's the same as `year_number`. Task: 3899604
4 changes
Resolved issues and error corrections
This fix corrects how shift times are displayed when employees view open scheduling opportunities via email links. Previously, shift times were incorrectly shown in UTC regardless of the employee's location. Now they display in the employee's local timezone, making scheduling information clearer and more accurate for global teams.
Original PR description
Versions -------- - 16.0+ Steps ----- 1. Create an open slot in a planning; 2. publish & send an email to an employee who could fill it; 3. open the planning link sent via email; 4. open the same URL while logged out. Issue ----- The datetimes of the open slot are displayed in UTC. Cause ----- Commit cf256e94d333 modified the planning template to use the `datetime` widget to format the dates instead of the `format_datetime` function provided by the `ShiftController`. Doing so, it lost access to the `employee_tz` value, derived from the email recipient, and hence defaulted to UTC. Solution -------- Format the dates using `format_datetime`. opw-3967787 Forward-Port-Of: odoo/enterprise#66015
This fix resolves an issue where quantities displayed in the barcode scanning system showed excessive decimal places (like 10.1000000001 instead of 10.1) when packing products. The system now properly rounds quantities to the appropriate decimal precision, ensuring cleaner and more accurate quantity displays for warehouse staff.
Original PR description
Current behavior: --- When putting product in packs, the quantity done amount can be like 10.1000000001 Expected behaviour: --- Should be rounded to 10.1 Steps to reproduce: --- 1. Install Purchase 2. Go to Settings, Inventory 3. Activate Packages 4. Go to Products 5. Create a new product 6. Set inventory > Tracking: By Lots 7. Go to Purchase, new Requests for Quotation 8. Add the new lot product, quantity 13.5 9. Click on Confirm order 10. Go to Barcode, operations, receipts 11. Select the last created receipt 12. Edit the line, input 5.66, save 13. Click on Put in pack 14. Select the empty line in the pack 15. Input 4.44, save 16. The first quantity is 10.1000000001 opw-3821629 Forward-Port-Of: odoo/enterprise#59401
This fix resolves an issue where optional products were not visible in the customer portal preview for subscription orders that have a start date set but are still in draft status. The system now correctly displays optional products regardless of whether the invoice date has been calculated yet, improving the customer experience when reviewing their subscription details before confirmation.
Original PR description
### Steps to reproduce: - Install Sale Subscription module - Create a recurrent order and add Optional products and Start date under Other info tab - Click on Preview ### Current behavior before PR: You won't see the optional products in the portal view if for a recurrent order that has start date and in draft. This is happening because in sale_subscription we are checking if the start_date of the order is equal to the next_invoice_date https://github.com/odoo/enterprise/blob/17.0/sale_subscription/models/sale_order.py#L1957:1959 and if the order is in draft it won't have a next_invoice date until it is either confirmed or sent. ### Desired behavior after PR is merged: We are now checking if the next_inovice_date is not set we show the optional products. opw-3980405
Code cleanup and technical improvements
This update moves a record-locking mechanism from the Mexican EDI module to the core accounting system, making it available for all electronic document systems. This prevents multiple users from accidentally sending the same invoice simultaneously, improving data integrity and reducing duplicate submissions across different countries' EDI systems.
Original PR description
This commit moves the generic `_with_locked_records` from `l10n_mx_edi.document` in `l10n_mx_edi` -> `res.company` in `account` This allows multiple EDIs to use the same generic method for locking their record before using them in requests. This prevents 2 (or more) users to send the same invoice at the same time. Affected EDIs: l10n_mx_edi, l10n_ro_edi task-id: 3595436 related community PR: https://github.com/odoo/odoo/pull/144061