Thursday, March 28, 2024
5 changes · master
Enhancements to existing features
The helpdesk time confirmation wizard now uses clearer button labels and a trash icon for deletion. This makes it easier for users to understand whether they are logging time, resuming the timer, or deleting the entry.
Original PR description
After this commit:
- confirm time spent wizard: buttons changed:
save -> log time
discard -> resume timer
delete -> fa-trash icon
task-3799828Studio 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.
The appointment booking form now disables the confirmation button and shows a loading state after the first click. This prevents users from accidentally submitting the same appointment request multiple times and avoids confusing error messages about the slot already being taken.
Original PR description
Purpose ======= Prevent multiple submits of the attendee form when the user spam clicks on the "Confirm Appointment" button. Specifications ============== Spam clicking the submit button is submitting multiple times the form which redirects the user to the "Date & Time" step with a red banner indicating that another user already has reserved this time slot a few seconds ago. Adding a loading effect on the confirmation button to disable it after a single click and inform the user that the form submission is correctly processed. Task-3815493