Monday, April 3, 2023
3 changes · master
Enhancements to existing features
Timesheet employee selections now show the employee's company when multiple companies exist. This helps users distinguish between employees with the same name across different companies and reduces selection mistakes.
Original PR description
1. hr_timesheet: use name_get to add employee's company
Currently, if both companies have employees with the same name, it is not known which
company the selected employee belongs to.
In this commit, the name of the company will only be appended by the name_get when more than
one company is present in the database.
Example
- Administrator - My Company
- Administrator - Tiny ERP
task-3101249New automated checks cover key planning template workflows, including creating templates, assigning them to shifts, and showing the right options by role and project. This helps protect planning and forecasting behavior from future regressions without changing user-facing features.
Original PR description
This commit adds some units to cover the following business cases: - the creation of a template - selection of a template for a shift - display the corresponding template on a shift - the right templates are displayed based on the selected role and project task-3051324
Project Updates now show 'N/A' in the Planned column when a sale order line is measured in units rather than hours. This avoids showing misleading planning information where planned hours cannot be calculated.
Original PR description
In Project Update's description, display 'N/A' in non-plannable cells. The column 'Planned' contains, for each sale order line, the sum of hours of planning slot related to it. When the sold product is measured in unit, this is not possible. task-2909337 related: https://github.com/odoo/odoo/pull/96104