Friday, May 31, 2024
7 changes · master
Enhancements to existing features
Products with instant attributes now appear only once in the preparation display instead of being repeated for every possible combination. When selected, staff can choose the relevant combination from a popup, making the product list easier to scan and use.
Original PR description
Before this commit when a product have attribute in instantly mode, the product was duplicated in the list of products as many times as there were possible combinations. Now, the product is displayed only once and when the user clicks on it, a popup is displayed with the possible combinations. taskId: 3884515 Related: https://github.com/odoo/odoo/pull/163781
The Help menu now sends visitors to a team selection page when multiple support teams are available, instead of duplicating the ticket submission page at different addresses. This creates clearer navigation for customers and helps avoid SEO issues caused by duplicate pages.
Original PR description
Before this PR, clicking on the 'Help' menu would lead to a submit ticket page with a specific link. And, accessing the '/helpdesk' route would also display the same page. It will have a negative impact on SEO In this PR, if there are multiple teams, clicking on the 'Help' menu will redirect users to a page where they can select the specific team they wish to contact, and clicking on a team will take users to the submit ticket page. task-3453870
Spreadsheet charts now support more design options, including title styling, axis settings, and dataset colors. This helps users create clearer, more polished charts directly in Odoo spreadsheets without extra manual work.
Original PR description
## Description This task aims to improve the design customization of the charts in o-spreadsheets, adding many customizable options like the title alignment/color/style, the axes configurations, the datasets colors, ... This PR adapts odoo's part to take the changes of o-spreadsheet into account. ## Related Task(s) - Task [3792009](https://www.odoo.com/web#id=3792009&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720) - https://github.com/odoo/o-spreadsheet/pull/3893 - https://github.com/odoo/odoo/pull/166538
Employees now see only open shifts that fit their working hours and time off, reducing confusion and unsuitable self-assignments. The planning screen also gives clearer guidance when no shifts are assigned and displays shift durations based on each employee's working schedule.
Original PR description
[IMP] planning: Improve Front-End UX Before this commit: - The list of open shifts contains shifts for which the employee wouldn't be available anyways because it falls outside of their working…
[IMP] planning: Improve Front-End UX Before this commit: - The list of open shifts contains shifts for which the employee wouldn't be available anyways because it falls outside of their working hours, or during their time off. - A blank screen is displayed when the employee doesn't have any shifts assigned yet. - Shifts are displayed with their real duration instead of the employee working hours. - technically, _prepare_slot_vals in _planning_get inside project_forecast and inside sale_planning is having duplicated code (line 46 - 49 = line 27 - 30 inside sale_planning) and computing again the full title each time by erasing the old title. It is doing 2 extra search calls for each slot. _planning_get is also iterating over the slots 3 times when the 3 modules installed. After this commit: - front-end > open shifts available list: shifts that fall outside of the working hours of the employee or during their time off are not displayed. - front-end view when publishing open shifts but no shifts > list view > "You don't have any shifts planned yet. You can assign yourself some of the available open shifts." (the second sentence should only be visible if there are open shifts available for this employee) is now displayed in no shifts. - front-end > shifts are displayed with the employee working hours duration. - technically, it was replaced by a new refactoring without doing extra work. - technically, u' \U0001F4AC' is replaced by ' \U0001F4AC' for slots having notes due to UP025 (Remove unicode literals from strings https://docs.astral.sh/ruff/rules/unicode-kind-prefix/) task-3186609
Helpdesk ticket descriptions can now support collaboration directly in the ticket form. This makes it easier for team members to work together on ticket details and keep information aligned in one place.
Original PR description
After this PR merge: - implement collaboration feature for description in the helpdesk ticket form view task-3817497
A new Notifications submenu in Configuration lets administrators set default notification behavior for all Discuss channels. This makes it easier to manage whether users receive all messages, mentions only, no notifications, or muted notifications unless a channel has its own specific setting.
Original PR description
Add a sub-menu for "Notifications" in the "Configuration" menu. The "notifications" sub-menu should have the following options to apply to all Discuss channels. Same options as for notifications on each channel: Mute (+choose time period) / All messages = default / @mentions/ nothing This setting should apply to all channels that use the default one unless another configuration has been made for a specific one. split of task-3503901
Planning shift emails now include buttons that let employees self-assign open shifts or self-unassign when allowed. Sharing logic was also improved so internal planning users open the appropriate planning view instead of being sent to the front-end view.
Original PR description
Prior to version 15 we had action buttons in the single shift email of the planning app. Specifically, if an open shift was shared from the planning app, employees could get the open shift assigned…
Prior to version 15 we had action buttons in the single shift email of the planning app. Specifically, if an open shift was shared from the planning app, employees could get the open shift assigned to them through a self-assign button in the email. Similarly, if the self-unassign setting is enabled from the planning app's settings, employees could unassign themselves from their shifts directly from the shift's sharing email through a self-unassign button. This PR re-introduces the two buttons to the shift emails. The code for their logic was never removed so we only reintroduce them in the email template. We also change the way that the planning is shared. Prior to this PR, we would check whether the employee was a planning internal user by checking whether they have a corresponding user and whether that user belongs to the "group_planning_user" group. In the planning app though, there are three types of internal users, ones who can see only the "My Planning" menu, ones who can see other menus and other resources, and planning managers. The former type of planning users do not belong to a specific group. This, resulted in the planning being shared with internal users (the former kind) but only opening in front-end view. task-3791152