Monday, February 6, 2023
7 changes · master
Enhancements to existing features
This update refreshes Odoo's spreadsheet engine with better formatting controls, faster rendering, and several fixes for selection, copy-paste, drag-and-drop, and chart display. Users should see a smoother spreadsheet experience with fewer editing issues and more presentation options.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/b1f3dd55e [FIX] Cell/clipboard: Fix last cell deletion https://github.com/odoo/o-spreadsheet/commit/7a183b176…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/b1f3dd55e [FIX] Cell/clipboard: Fix last cell deletion https://github.com/odoo/o-spreadsheet/commit/7a183b176 [REF/IMP] figure: refactor figure container and handle scroll https://github.com/odoo/o-spreadsheet/commit/64b9f825c [REF] sheetview: split getter "getActiveSheetScrollInfo" https://github.com/odoo/o-spreadsheet/commit/be9540654 [IMP] top bar: add 'text wrapping' options https://github.com/odoo/o-spreadsheet/commit/a7d59e34f [IMP] top bar: add 'vertical alignment' options https://github.com/odoo/o-spreadsheet/commit/d4663158d [FIX] menu: use capture for events https://github.com/odoo/o-spreadsheet/commit/29fa62c35 [FIX] figures: copy paste through context menu not working https://github.com/odoo/o-spreadsheet/commit/8cdc7c193 [FIX] selection processor: expose only interface https://github.com/odoo/o-spreadsheet/commit/ab6c4d86e [FIX] selection: avoid scroll when using ctrl+a loop https://github.com/odoo/o-spreadsheet/commit/fd1140c72 [FIX] Renderer: Speed up rendering https://github.com/odoo/o-spreadsheet/commit/0358a76d5 [FIX] components: Fix static colors for spreadsheet https://github.com/odoo/o-spreadsheet/commit/8497bf562 [REF] tests: introduce click helper https://github.com/odoo/o-spreadsheet/commit/662996755 [FIX] drag & drop: mouse outside the grid & freeze panes https://github.com/odoo/o-spreadsheet/commit/472852266 [IMP] chart: format Y values https://github.com/odoo/o-spreadsheet/commit/b561936fd [IMP] tests: Speed up composer tests
Tasks created from recurring sales subscriptions now inherit the subscription's end date or recurrence pattern when applicable. When a subscription is closed, related tasks stop being marked as recurring, helping service work stay aligned with customer contracts.
Original PR description
On SO confirmation: - If all of the following conditions are met, set the end_date of the Subscription as the repeat_until date of the Task: The Product is recurrent and creates a Task, The Task Template is recurrent, The end_date field is set on the Subscription. - If all of the following conditions are met, apply the Subscription's recurrence to the Task's: The Product is recurrent and creates a Task, There is no Task Template on the Product. - If the Subscription is closed, set the recurring_task field of the related Task to false. task-2868306
This update improves how Odoo distributes database queries when multiple databases are available, helping reduce pressure on any single database connection. It also marks several web controllers as read-only where appropriate, improving efficiency for common web interactions without changing the user experience.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website appointment and Twitter wall pages now use shorter, cleaner links that include readable page identifiers and no longer include the full site address. This makes shared links easier to read and helps keep website content URLs consistent across the platform.
Original PR description
*: website_appointment, website_twitter_wall See related community commit for details.
Users who install Odoo as a progressive web app can now access key apps directly from the app shortcut menu. The shortcuts make it faster to open Discuss, CRM, Project, and Notes, bringing the web app experience closer to the mobile app.
Original PR description
The main goal of this commit is like we did inside the `Android Odoo Mobile App`, allowing users to have some Odoo application shortcuts. We added the following apps in the key `shortcuts` on `web.manifest` in these orders: `Discuss`, `CRM`, `Project`, `Notes`. Task ID: 3123607 Links: - https://w3c.github.io/manifest/#shortcuts-member - https://developer.mozilla.org/en-US/docs/Web/Manifest/shortcuts
The Belgian payroll eco voucher wizard is easier to use and can be launched earlier in the payroll batch process. It now selects or creates the correct open payslips for voucher lines, reducing manual corrections and helping payroll teams process vouchers more reliably.
Original PR description
The following changes have been made to the eco voucher wizard: - The default reference year is now the next year starting from july 1st. This is because eco vouchers are paid at the end of june. - The order and style of the buttons in the wizard has been changed for better UX. - The eco voucher wizard is now accessible as soon as the batch has payslips associated with it. Previously, the wizard was only accessible when the batch was in the 'done' state. - The logic to which payslip the eco voucher line is added has also been fixed. Only open payslips that are associated with the batch can be chosen. If they do not exist, they are created. task-3063614
When a subscription order creates service tasks, those tasks can now inherit the subscription's recurrence schedule and end date where appropriate. Closing a subscription also stops recurrence on its related tasks, helping teams keep service work aligned with customer contracts.
Original PR description
\* = industry_fsm_sale_subscription, project_enterprise, project_sale_subscription, sale_subscription On SO confirmation: - If all of the following conditions are met, set the end_date of the Subscription as the repeat_until date of the Task: The Product is recurrent and creates a Task, The Task Template is recurrent, The end_date field is set on the Subscription. - If all of the following conditions are met, apply the Subscription's recurrence to the Task's: The Product is recurrent and creates a Task, There is no Task Template on the Product. - If the Subscription is closed, set the recurring_task field of the related Task to false. related PR: https://github.com/odoo/odoo/pull/92696 task-2868306