Thursday, March 28, 2024
5 changes
3 changes
Enhancements to existing features
Studio now checks approval rules for all form buttons in a single request instead of one by one. This improves form loading performance and reduces database work, especially on screens with multiple approval-controlled actions.
Original PR description
Studio approval is the mechanism that allows to restrict some buttons to some users until they are approved by a manager. Before, the approval was fetched one by one, for each button in the form view. This commit changes this to fetch all the approvals in one request in order to improve the performance. The python code has been improved as well, making as few sql requests as possible. The counterpart of this commit is a change of API of the public method `studio.approval.rule:@get_approval_spec` that can handle fetching rules for any combination of `model * res_ids * method * action_ids` task-3601171
Users can now move through spreadsheet templates and selector dialogs with the keyboard arrow keys. This makes choosing templates or spreadsheets faster and more accessible, especially for users who prefer keyboard navigation.
Original PR description
## Description - Introduces arrow key functionality for navigating templates within the template dialog and spreadsheet selector dialog. Task ID: [3700699](https://www.odoo.com/web#id=3700699&cids=2&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Users can now adjust pivot table groups and measures directly from the spreadsheet side panel. This makes reporting more flexible by allowing changes to measure calculations, group ordering, and date grouping granularity without rebuilding the pivot table.
2 changes
Enhancements to existing features
The term "Upsell" has been replaced with "Quotation" in the customer portal for the subscription sales module. This change improves the customer experience in regions where the term "Upsell" has negative connotations, making the platform more culturally appropriate and customer-friendly.
Original PR description
The term "Upsell" has a negative impact on customers in some countries. It has been changed to "Quotation" task_id: 3699064
The appointment scheduling system now supports managing multiple resources per booking, similar to restaurant reservation systems with capacity management. The gantt view has been reorganized to group appointments by resources, making it easier to manage complex booking scenarios where customers can select multiple resources (staff, equipment, etc.) for a single appointment.
Original PR description
We now group the gantt view by resource_ids to manage appointment type where multiple resources can be chosen for the booking. It is now possible to manage appointment types of restaurant type (aka with manage capacity and multi resources). The field appointment_resource_id on the calendar event is removed as no longer useful. Everything is now managed with the computed resource_ids field and store with the appointment_resource_ids field through the appointment_booking_line table. The capacity distribution between resources is simplified and takes the shared resources in last. task-3812927