Saturday, April 19, 2025
7 changes · master
Enhancements to existing features
This update improves internal cache monitoring by estimating memory usage when diagnostic logs are requested. It helps administrators understand cache impact more clearly and includes reliability fixes around how these diagnostics are generated.
Original PR description
Enhance ORMCache statistics log with memory footprint estimation with SIGUSR2 the log looks like below for SIGUSR1 <img width="893" alt="image" src="https://github.com/user-attachments/assets/760d3998-9c2d-416a-b5a3-28318e687212" /> the log looks like below for SIGUSR2 <img width="1169" alt="image" src="https://github.com/user-attachments/assets/0e359056-49dc-4d89-a7a7-1895be52a47e" /> This commit also 1. avoid useing `logging` module in the signal handler 2. fix a bug the signal is called after a registry is poped in the `Registry.registries` LRU cache 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
The HTML editor now handles invalid text selection requests more gracefully. Instead of interrupting the user experience with an error, it records a warning to help developers diagnose the issue while keeping editing workflows stable.
Original PR description
Due to the many ways setSelection can be called with a wrong selection, this method no longer throws an error but logs an informative warning instead.  
Live chat session reports now include the linked customer for each visitor when available. This makes it easier for teams to search, group, and analyze conversations by customer, improving follow-up and reporting visibility.
Original PR description
Purpose of this commit: Introduced the visitor_partner_id field in the livechat channel session report to enable grouping/searching of records based on the customer that have a partner linked to it. part of task: 4619177
When users duplicate a project task, the new task now records a 'Task Created' entry in its activity history. This makes copied tasks easier to audit and understand without sending extra notifications or materially affecting performance.
Original PR description
Previously, copying a task didn’t show the 'Task Created' message in the chatter. Now, `Task Created` message is added during the copy. No user notifications are sent, so there’s no effect on performance.
Performance Impact:
--------------
- Minimal impact observed on duplication performance.
**- Without chatter log:**
• 25 tasks (1 subtask each): 937 queries
• 256 tasks (4 subtasks each): 9133 queries
• 1296 tasks (6 subtasks each): 45636 queries
**- With chatter log:**
• 25 tasks (1 subtask each): 938 queries
• 256 tasks (4 subtasks each): 9136 queries
• 1296 tasks (6 subtasks each): 45649 queries
Task-4702377Timesheet guidance messages were refreshed to make them more useful and broadly applicable for employees. Some less generic tips were removed and new tips were added, helping users receive clearer advice while recording time.
Original PR description
This commit updates the content of some tips and adds some other ones. task-4387146
The field service task form now uses a smaller, consistent font size for the customer preview button. This helps prevent the button text from being cut off and keeps the form visually aligned with other action buttons.
Original PR description
Before this commit, the customer preview stat button displayed in fsm task form view has a font size bigger than the other stat buttons and so the text of that button could be cropped compared of the other buttons. This commit reduces the font size to make the same font size than the other buttons. task-4662072
Budget actions in the project dashboard now clearly appear as clickable items. This makes it easier for users to identify where they can add or open budget information from the project side panel.
Original PR description
Before this commit, the button `Add budget` and the budget sections displayed in the project right side panel are not displayed as clickable element, which means the cursor does not indicate the element is clickable. This commit adds a `href` on those buttons to make sure the cursor shows those elements are clickable as expected. task-4593181