Tuesday, December 5, 2023
4 changes · master
Enhancements to existing features
Spreadsheet users now see a warning when a pivot data source is not used in any formula. This helps users spot unused data sources more easily from the menu and side panel, reducing confusion and keeping spreadsheets cleaner.
Original PR description
This commit adds a warning in the menu item and the side panel of the pivot view when the data source is not used in any formula. Task: [3487684](https://www.odoo.com/web#id=3487684&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
Embedded views added to Knowledge articles now automatically switch the article to a full-width layout. This gives users more room to view and work with embedded content, making articles easier to edit and read.
Original PR description
This commit changes the behavior of inserting any embedded view inside of a knowledge article: when inserted we switch the view to full_width. This way it is easier to work with embedded views as they are bigger and easier to see. task-3604828
The Documents PDF manager now supports keyboard shortcuts for common actions like splitting, adding files, and using action buttons. This makes handling PDFs quicker and easier for users who process documents frequently.
Original PR description
Make the PDF manager easier to use by mapping its action buttons to hotkeys: - split -> ALT + S - close -> already mapped to escape - add file -> ALT + F - other actions -> ALT + SHIFT + 1..9 task-3510539
Timesheet grids now visually flag entries that need attention, such as more than 24 hours in a day, missing expected hours, or overtime. This helps managers and employees spot potential mistakes, lost billing, or workload issues faster, while also improving the accuracy of expected working time calculations.
Original PR description
The main goal of this task is to give users visual clues so that they can see at glance there is an abnormal situation to address. Before this commit: 1) grid view: It makes no sense to encode more…
The main goal of this task is to give users visual clues so that they can see at glance there is an abnormal situation to address. Before this commit: 1) grid view: It makes no sense to encode more than 24h in one day. We can thus safely assume that the user mistyped, but the user is not alerted about it. 2) if an employee has timesheeted less than they should have, the company is potentially losing money. It must then be rectified asap. Same when doing overtime, it can mean that the company will have to compensate the employee accordingly. It is also a clue for the manager that an employee may be overloaded. 3) using _work_intervals_batch to get resources work interval doesn't take into consideration their calendar. In this commit: 1) Cells that are > 24h are highlighted in red when grouping by an employee or when viewing the 'my timesheets' menu 2) We colored the cell of the total per day of each employee in the section. - red when there are missing timesheets - orange if there is overtime. 3) using _get_valid_work_intervals fixed the issue. Related PRs: Community: https://github.com/odoo/odoo/pull/124512 task-3054342