Thursday, March 28, 2024
9 changes
1 change
Enhancements to existing features
This update streamlines the process of accessing analytic accounts within Odoo. Previously, the same code was repeatedly used to retrieve these accounts, leading to redundancy. This change creates a new function to avoid this duplication, improving efficiency and maintainability.
Original PR description
[IMP] analytic: Add a function to get the analytic accounts off of analytic_distribution dict, this improvement is to avoid rewriting the same code all over whenever we wanna get the accounts. [related PR](https://github.com/odoo/enterprise/pull/57159) opw-3756270 Forward-Port-Of: odoo/odoo#156866
5 changes
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-37998283 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
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.
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
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
The 'Removal strategy' field in the stock location form is now automatically hidden when users select location types other than Internal. This improves the user interface by only showing relevant fields based on the selected location type, making the form cleaner and less confusing for warehouse managers.
Original PR description
In this commit: ================== Invisible the 'Removal strategy' field when selecting the other location type except the Internal location. task-3555853 Forward-Port-Of: odoo/odoo#154117