Wednesday, June 28, 2023
13 changes · master
Enhancements to existing features
The server now prepares its list of static assets earlier, reducing repeated work when worker processes start. This improves startup and asset generation performance, helping deployments become ready faster without changing end-user features.
Original PR description
This pr was split in multiple smaller pr: #121159 refactor assets unique computation #121376 refactor assets ormcache After merge of the other pr, this one will only contain the static file cache and in memory glob. Assets pregeneration check (enterprise runbot) Before all changes: js: ~3s css: ~1s After all changes: js: ~0.6s css: ~0.2s
The Point of Sale customer list now displays customer details more clearly on small or portrait screens. Instead of information being cut off or pushed outside the screen, the details stack neatly so staff can view customer records more easily on mobile devices.
Original PR description
Prior to this commit, data in the customer list of the POS were partially omitted or lost outside of the screen if the resolution was under 768px and/or in portrait mode. Now, when the screen is under 768px, each data/values in each column for each row are stacked on top of each other. Task-3223287 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory teams can now view lot or serial number properties directly on related stock quantity records. This makes it easier to find and filter inventory based on lot-specific information without switching screens.
Original PR description
Since stock.quant are directly related to their lot/serial, we want to be able to show the lot properties on the related quants. We also want to be able to filter quants based on the properties of their lot/serial. task 3373534 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Live chat session history now shows more useful details, including session duration and visitor country. Users can open conversations directly in Discuss when they are members, making it faster for support teams to review past chats.
Original PR description
This PR improves the livechat session history list view: - Clicking on a session opens the channel in discuss if the user is a member of it. Opens the form view otherwise. - Display duration of the session (last message datetime - first message datetime) - Display country of the visitor part of task-3332872
Users can now add mentions when editing an existing message in Odoo Discuss or mail-related conversations. This makes it easier to bring colleagues into a discussion after a message has already been posted, improving collaboration and reducing the need to send follow-up messages.
Original PR description
task-3329714
Users with lower karma can now create one pending post in each forum instead of being limited to one pending post across all forums. This makes forum participation easier while keeping moderation controls in place.
Original PR description
This change introduces ability for users (who don't have enough karma) to create one pending post per forum. Previously users could only do it in all of forums. ticket-3354435 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
Live chat channel forms now make it easier for managers to manage channel staffing by allowing them to remove operators directly. The form also shows each operator's online name, helping teams identify the right people more clearly.
Original PR description
This PR improves the livechat channel form view: - managers can remove operators from channel - operator online name is displayed part of task-3332872
Planning users can now split an existing shift directly from the Gantt schedule by hovering over time boundaries and clicking the split tool. This makes it easier to adjust long shifts across hours, days, weeks, or months, with resource availability considered when schedules are grouped by resource.
Original PR description
planning.slot - Gantt view: When using using the Gantt view in Planning, it is in some case necessary to split an existing shift that span across hours/days/weeks/months. There is currently no simple way to do that. This commit introduces a split tool in the Gantt view of planning, allowing to simply cut planning slots. The too is displayed when the user hover a given pill at the junction between hours, days, weeks or months depending on the scale of the Gantt view. Once clicked, the slot is automatically split into to slots finishing and starting at the junction selected. task-3330231
The timesheet timer can now show a helpdesk ticket field when the selected project is linked to Helpdesk, replacing the task field in that flow. This helps users log time directly against the right support ticket while keeping the interface relevant to their access rights.
Original PR description
Currently project, task and description fields are added in timer header component
now we have added helpdesk ticket in this commit.
Flow-
If selected project is linked with the helpdesk, the task will be hidden and the
ticket will be visible.
task-2829389This update replaces an older internal way of building record names with the newer display name approach across many Odoo Enterprise apps. It also helps Odoo know when those names need refreshing, improving search performance and keeping displayed names consistent.
Original PR description
## [IMP] *: convertion of `name_get`. Because `name_get` is now deprecated: - Converts all usage of `name_get` - Overrides of `name_get` are now overrides of `_compute_display_name` ## [IMP] *: add dependencies to `display_name` field The previous commit (community) introduced an optimization to reduce the number of queries and fields fetched when we call `name_search`. But it works much better when the dependencies of `display_name` contain field names used in the calculation (on the same record/model). Then, to improve the performance and the cache coherency, add `depends` and `depends_context` depending on the custom `_compute_display_name`. Add only the first level of dependencies (never traverse relational field) because only these have a positive impact on the previous optimization and the cost is very low (see `modified`). https://github.com/odoo/odoo/pull/122085 https://github.com/odoo/documentation/pull/4639 https://github.com/odoo/upgrade/pull/4780
The salary package now better supports showing the detailed cost calculation for company cars. It also removes a default car description that was too company-specific, helping Belgian salary configurators present more neutral and accurate information.
Original PR description
…for the car task - 3302341
This update simplifies subscription sales by removing obsolete fields, pricing details on sales order lines, and unused template color settings. It also moves recurring sale settings to a more reusable template structure, making them available beyond subscriptions, such as for rental flows.
Original PR description
**[IMP] sale_subscription: move_field from sale_subscription to sale** Move some KPI related fields from sale_subscription to sale **[IMP] sale_subscription, sale_temporal: move recurrence on template** Sale order recurrence is added in sale_temporal but only added on the SO template in subscription. This commit aims to move the code to it's rightful place as well as allow sale_renting to use the recurrence on the template too. **[IMP] sale_subscription: remove pricing from SO lines** Remove pricing from so lines as it has become useless. task-id : 3244560
The Documents app now separates the files a user has selected from the files they are previewing or inspecting. This makes document previews more predictable and reduces the chance of losing or unexpectedly changing a user's current selection.
Original PR description
Purpose ======= The current logic of DocumentInspector is super weird. When you want to inspect a document, you need to select it. But you can also inspect a document that is not selected, the current code - save the current selection - select the document we want to preview - when we close the preview, it restores the selection A better way to do it is to have two separate variables to differentiate the selection and the documents previewed. Task-3290796