Friday, April 14, 2023
7 changes · master
Enhancements to existing features
Kanban views now delay loading images until they are close to being visible on screen, reducing unnecessary network usage. This should make image-heavy pages such as contacts, employees, vehicles, lunches, and eLearning slides feel lighter and more efficient for users.
Original PR description
This commit adds the loading="lazy" attribute to every img tags compiled by the kanban compiler and modifies some kanban archs in order to use img tags instead of divs with background-image style to load images (this allows again the loading="lazy" atribute to work). The purpose is to avoid loading images that are outside the user viewport at all time in order to reduce the load on the network when new images are loaded. Steps to test: find all views that are using the o_kanban_image or o_kanban_image_fill_left class and ensure all the images in these views appear in the network tab of devtools when they enter the user viewport. Example: res.partners, hr.employee, ... task-3102207
Inventory reservations now take product expiration dates into account when selecting lots or serial numbers. This helps prevent expired or soon-to-expire goods from being assigned to deliveries, reducing fulfillment errors and customer risk.
Original PR description
Currently, when a product with an expiration date is reserved, the expiration date isn't checked when seeking which lot/serial to use. This can lead to the shipping and delivery of already expired products, since their expiration date came before their scheduled delivery. Task-3203121 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar users can now enter more event details directly when quickly creating an event, instead of only adding a title. This makes scheduling faster and reduces the need to reopen events for additional edits.
Original PR description
This commit consists of a full rework of the quick create form in the calendar view, so that it shows more options to the user rather than only the name of the event. To accomplish this, we added a new attribute on the calendar view with the id of the quick create form view to be used. This allows us to have a custom view to be shown on quick create. task-3129030 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
Planning users now see project details before sales line details in shift emails, making the most relevant information easier to find. The update also prevents incomplete role creation from product forms and adds an undo option when shifts are copied from the previous week by mistake.
Original PR description
1) Before this commit sale line field added before project field in mail template of new shift. Normally project field is more common and useful in shift then sale line field. So this commit move…
1) Before this commit sale line field added before project field in mail template of new shift. Normally project field is more common and useful in shift then sale line field. So this commit move project field before sale line field. 2) Before this commit user can able to quick create a role from product form view but creating a role without resource would not be that useful and make not much sense. So this commit disable quick creation of new roles from project and make resources field required on create/edit form dialog so SOL have at least a resource for role that was created from product. 3) Before this commit user does not have any option to rollback or delete all the shift that were created by copy previous week button action and because of that if user misclick on that button it'll hard for user to find and delete all the shift that are created from misclick. So this add a `fa-undo` button in notification of copy previous week button so user can easily rollback shifts that are created from copy previous week button. task-3117332
Document kanban cards now use standard image elements so images can load only when needed. This improves page performance and responsiveness when users browse many documents or spreadsheets.
Original PR description
This commit changes how images are defined in the kanban view to be img tags instead of background-image styled divs. This allows for the kanban compiler to add the lazy loading attribute automatically due to the changes in community: https://github.com/odoo/odoo/pull/117049 task-3102207
Helpdesk SLA analysis screens were simplified to focus on clearer status-based reporting and more understandable labels. Default dashboard and report measures were adjusted so business users can more easily review failed, in-progress, and successful SLA outcomes.
Original PR description
In this commit change following UI changes in helpdesk SLA Status analysis: - remove following measures from reporting of SLA status analysis - % of failed SLA, % of SLA in progress, % of successful SLA - change default measures in pivot view and set group by 'sla status' - demo data change 'VIP support' team stage from 'done' to 'solved' - remove following favorite filter from reporting . - 'failed sla stage per month' and 'status for deadline' - change default measures in graph view ''number of sla failed'' - change following labels - 'Number SLA In Progress' to 'Number of SLA in Progress' - 'sla ongoing' to 'SLA in Progress' - 'sla reached' to 'SLA Success' - change demo data of 'success rate' and 'average rating' default daily targets to 85% task-3186580
The Helpdesk app experience was refined across forms, SLA setup, repair handling, task creation, coupons, and website support. These changes make common support workflows clearer, reduce accidental setup errors, and carry customer details more smoothly between related processes.
Original PR description
_* = helpdesk_sale_loyalty, website_helpdesk, helpdesk_repair, helpdesk_sale_timesheet, helpdesk_fsm Purpose of this commit is to improve generic UX of the helpdesk app. So, in this commit did the below changes: - add space before the hyphen. - switch the 'automatic closing' and 'closure by customers' features from place. - rename generate button into generate coupon. - remove the description field placeholder. - remove create and edit option from type ids field in SLA. - remove create and edit option from tag ids field in SLA. - make the email alias clickable in the kanban view of the helpdesk team. - make the color of customer care data false. - modify the default values of the repair form. - improve the UX of the SLA form. - set partner on create task wizard. - add email in helper if email alias enabled. task-3102422