Daily updates from Odoo
Tuesday, May 3, 2022
6 changes · master
Enhancements to existing features
Project reporting is easier to use with clearer default measures and new filters for department-based timesheet planning and conflicting tasks. Timesheet entry labels were also clarified to help users understand what time information to provide.
Original PR description
** = timesheet_grid,project_timesheet_forecast Purpose of this PR to improve generic usage of project app. So, in this PR done following changes: - reporting > timesheets & planning analysis > graph view: display the count measure by default. - add 'my department' filter in 'timesheets & planning analysis' report's search view. - change string of time_spent field in project task create timesheet wizard. - add 'Task In Conflict' filter in 'Task Analysis' report search view. task-2742725
The Documents Spreadsheet feature has been updated to a newer spreadsheet engine version, adding a dedicated dashboard mode and improving how spreadsheet views are handled. This should support clearer dashboard-style reporting while also including configuration fixes that make the feature more reliable for future updates.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/a709ca18 [IMP] spreadsheet: introduce dashboard mode https://github.com/odoo/o-spreadsheet/commit/abe22e33 [REM] model: remove mode https://github.com/odoo/o-spreadsheet/commit/5443121f [FIX] config: update rollup path https://github.com/odoo/o-spreadsheet/commit/73e898e4 [FIX] config: Feed dedicated tsconfig.json file to jest https://github.com/odoo/o-spreadsheet/commit/b87ca1ea [FIX] config: Avoid compiling test files
Access rights labels across several HR-related apps have been updated to make user roles easier to understand. Fleet also gains a new officer role with intermediate permissions, helping businesses assign responsibilities more accurately.
Original PR description
*: approvals hr_apprasaisal hr_payroll hr_referral fleet hr hr_attendance hr_holidays hr_recruitment lunch Change various access rights names to improve understandability for users. Addition of an officer role in fleet with intermediate accesses TaskID 2742855
HR teams can now launch a signing plan for multiple employees at once instead of repeating the process employee by employee. This saves time during onboarding or contract updates and makes bulk HR workflows smoother.
Original PR description
task - 2797331
Resolved issues and error corrections
Planning shifts now update more efficiently when employee leave is created, changed, or removed. This reduces delays during leave validation by avoiding unnecessary recalculations and dramatically lowering the amount of database work required.
Original PR description
Before this commit, the shifts are recomputed when a leave is added in the planned dates of those shifts and the compute of working_days_count is too costly. This method slows down the validation of a leave or the creation/suppression of a leave too. This commit improves the performance of this compute to take less time as possible to recompute the working_days_count field of those shifts impacted by a changes on a leave in their planned dates. Also, this commit checks the `vals` when a leave is updated to only recompute the `working_days_count` and the `allocated_hours` fields of shifts when the `resource_id`, `start_datetime` and `end_datetime` fields are changed. Without the fix, the query counter is equal to 395 queries for `_recompute_shifts_in_leave_periods` method and with the fix, only 5 queries are counted. Related PR: #24619
This update improves day-to-day usability across field service-related workflows by setting new helpdesk tickets to low priority by default, improving placement of the lot/serial number button, and keeping planning sample data visible when switching views. It also makes grouped timesheet grids more consistent by showing empty rows where expected.
Original PR description
* helpdesk, industry_fsm_stock, planning In helpdesk, - set low priority as default on ticket creation time - removed fa-pencil icon when sample data is enable In industry_fsm_stock, - aligned lot/SN button to bottom right corner In planning, - fixed sample data visibility on switch view task-2720976 closes: https://github.com/odoo/enterprise/pull/23884