Thursday, March 30, 2023
14 changes · master
Enhancements to existing features
The mail emoji picker is easier to use, with larger centered emojis, clearer search focus, and a friendlier empty-search screen. These visual refinements make message composition smoother and more consistent, including when emoji loading fails.
Original PR description
- Bigger and centered emojis in grid - Better visual clue of focused input from search icon - No search screen with icon + text - Consistent sizing of emoji picker in case of failure - Added basic test for active highlighted category Before <img width="288" alt="before" src="https://user-images.githubusercontent.com/6569390/228522941-594721f8-a7b9-45ac-a86b-213dd11c701c.png"> After <img width="291" alt="after" src="https://user-images.githubusercontent.com/6569390/228523053-d2f0d7b3-9027-4bfa-bbc8-a0231be95d3a.png"> <img width="290" alt="empty-search" src="https://user-images.githubusercontent.com/6569390/228523102-b28a7160-7b57-4b75-94b1-2054ae2b5032.png">
Project and invoice timesheet totals are now calculated without applying each user's detailed timesheet access checks. This should improve performance in project and sales workflows while keeping the displayed totals consistent for business use.
Original PR description
Before this PR total time on timesheet for projects and Invoices computed according to user's access to timesheet and security rules on account.analytic.line are quite complex. So, in this PR compute those fields with sudo to ease the perfomance of project and sale apps. task-2890184
Project screens and reports were refined to make everyday project tracking clearer and easier to use. Users get better search filters, clearer milestone and recurrence information, and small layout improvements in task and timesheet-related views.
Original PR description
Purpose of this commit to improve generic usage of project app. So in this commit done the following changes: - the sequence field should not be optional for project.task.type list view - move the fa-play icon next to the remaining hours widget in kanban view - add the filters that are highlighted to the project sharing search view - add group bys for project sharing search view - add filter and separator for burndown chart search view - transform the 'milestones' stat button into 'x Milestones /n y Reached - change the recurrence banner - add the placeholder for the label_tasks field 'e.g. Tasks' task-2947481
The mail chat recipient selector now gives clearer feedback when no matches are found and opens or closes more predictably based on where the user clicks. This makes starting conversations smoother and reduces confusion in the messaging interface.
Original PR description
1. Display no result when having no matched results. 2. Hidden when clicking outside of the field. 3. Be visible when clicking inside the field. 4. Add related tests task-3208033 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Project app now groups task-related options under a single Tasks menu, with separate choices for My Tasks and All Tasks. This makes navigation cleaner and easier to extend in the future, especially when custom task menus are added.
Original PR description
Purpose: - In the project, My Tasks and All Tasks menu are related to the task model so having two main menus for the same model which display almost the same thing would not be great for UI and it'll not look good if we add another menu in the future or via customer customization. So in this Commit: - We have added a menu named Tasks which has 2 sub-menus My Tasks and All Tasks which would be great to display tasks task-3180910
Project task updates have been optimized to reduce delays caused by repeated permission checks during internal processing. This should make saving or modifying tasks faster, especially in environments with many tasks or users.
Original PR description
All write operations on the `project.task` model are slowed down significantly by a dict comprehension mapping tasks to their user_ids because of the access rules checks. By adding a sudo to that dict comprehension, this PR makes it bypass those checks and speeds it up. Task-3164004
Odoo now uses a shared overlay layer for foreground elements such as popups, dialogs, and visual effects. This improves consistency and prevents display layering issues when multiple foreground elements are opened from one another.
Original PR description
This commit adds a new service "overlay" that will be used as a base for other service which displays a component on foreground like "popover" or "dialog". The services "popover", "dialog" and "effect" already uses this new service to have a common container. The "overlay" service also fix a stacking context issue that could happen when a popover opened a dialog and this dialog then opened another popover thanks to the common container. task id: 3233266
Odoo now records changes to a contact’s full address in the activity history, making it easier to see who updated important partner address information. Instead of logging each address line separately, the update presents address changes as one clear entry for better readability.
Original PR description
Currently there is no way of knowing who changed the address of a partner. This field is of high importance and should be tracked to be able to follow who is editing it. As addresses are represented with a bunch of fields, tracking them individually would result in weird-looking tracking messages with each value stacked on top of the other. To avoid this, we take advantage of the fact that tracking can be used on non-stored compute fields to log any change as a change over the full address. The full address is derived from the contact_address field to take advantage of the existing regional formatting of addresses. It is however modified to replace return to lines with commas to acomodate the formatting of tracking messages in the front-end. task-3165293 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The sales order list now makes the Create Invoice action more prominent. This helps sales teams complete a frequent invoicing step faster and improves day-to-day usability.
Original PR description
create invoice is a common action in sales orders listview that should be promoted for the better user experience task-3037442
When creating planning slots, choosing a material resource now automatically fills in that resource's default role. This saves time and reduces manual entry, making slot creation smoother and more consistent.
Original PR description
In this commit improve the following generic UX - selecting material resource will select the role by default of that material - earlier only employee was selected by default - will ease the creation of slot task-3146985
When a human resource is created from a planning role, the system now automatically creates and links the corresponding employee to that role. This reduces manual setup and keeps planning roles and employee records aligned.
Original PR description
In this particular commit, it has been established that if a Human type of resource is created dynamically from a planning role, a new employee will be linked to that specific role. task-3162601
HR salary package configurators can now make some benefits available only when required related benefits are selected. This helps companies enforce benefit rules, such as allowing a fuel card only when a company car is also chosen.
Original PR description
Purpose: There are some business cases when one would like to make some advantages dependent on others. Thus only allow to pick specific (dependent) advantage if the mandatory advantage(s) are picked. For example, the company might want to forbit to pick fuel card, in case car is not picked. To solve this, the m2m advantage_ids field is added on the 'hr.contract.salary.advantage' model. All the mandatory advantages should be selected in order to select the dependent advantage. task - 2941827
The task timer in the project kanban view has been adjusted to make time tracking easier and more intuitive. This helps project users work more smoothly when recording time on tasks.
Original PR description
Purpose of this commit to improve generic usage of project app. So in this commit, we adjust the timer on task kanban view. task-2947481
Helpdesk team time totals are now calculated in a way that avoids complex access-rule checks during the calculation. This should improve Helpdesk performance while keeping the displayed total time available for teams.
Original PR description
Before this PR total time on timesheet for helpdesk team computed according to user's access to timesheet and security rules on account.analytic.line are quite complex. So, in this PR compute those fields with sudo to ease the perfomance of helpdesk app. task-2890184