Friday, April 14, 2023
13 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
Portal users now see simpler, more meaningful browser window titles when opening sales orders, purchase orders, invoices or bills, and shared projects. This makes pages easier to recognize and improves the customer-facing portal experience without changing business workflows.
Original PR description
* account, project, purchase, sale before this commit, opening a record from portal(sale, purchase, invoice, project) shows the window title as Invoice Portal Template, Project Sharing View in Portal, Purchase Order Portal Template and Sale Order Portal Template etc * navigate to portal * click sales order * click and open any sales order * see the window title  after this commit, better title will be displayed to the portal users. Invoice Portal Template --> Invoice/Bill Project Sharing View in Portal --> Project Sharing Purchase Order Portal Template --> Purchase Order Sale Order Portal Template --> Sale Order --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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
The work entry list now shows additional fields to make records easier to review at a glance. This helps HR users understand and compare work entries faster without opening each record individually.
Original PR description
For more clarity, we added some fields on the list view of work entry. task - 3264920
Selection menus can now include a customizable area at the bottom for extra information or actions. This makes the component more flexible for future Knowledge features, such as adding related options or showing context-specific controls.
Original PR description
This commit allows the customization of the bottom area of the SelectMenu component. The slot can show additional information, of handle any feature related to the state of the component, such as adding elements, etc. A test has been added using this custom slot, asserting its presence and testing an interaction with its content. This changes is required to use the SelectMenu component in Knowledge, in task-3134491
Portal pages for invoices, purchase orders, and sales orders now show clear, customer-friendly browser titles instead of internal template names. This makes it easier for users to understand which document they are viewing and improves the overall portal experience.
Original PR description
account, purchase, sale before this commit, opening a record from portal(sale, purchase, invoice, project) shows the window title as Invoice Portal Template, Purchase Order Portal Template and Sales Order Portal Template etc * navigate to portal * click sales order * click and open any sales order * see the window title after this commit, better title will be displayed to the portal users. Invoice Portal Template --> Invoice/Bill Purchase Order Portal Template --> Purchase Order Sales Order Portal Template --> Sales Order --- 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
This update adjusts core web view handling in Odoo's interface. It is likely intended to improve how relational data is managed in views, but the available PR details are limited, so the business impact appears minor.
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
Notification buttons now line up more neatly with the surrounding message content. This small visual improvement makes notifications look cleaner and easier to scan for users.
Original PR description
Before this commit button in notification are not aligned with other content of notification reason it is not aligned because all buttons have padding in their surrounding and because of starting padding on button it is not align with others. This commit add ps-0 to remove starting padding and align notification button with other content. task-3117332
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