Friday, November 12, 2021
3 changes
New functionality added to Odoo
Accepted busy calendar meetings now automatically create planning slots, so managers can see when employees are unavailable without checking Calendar separately. This helps avoid assigning shifts that conflict with meetings and keeps planned working time reports more accurate.
Original PR description
PURPOSE ======= Currently, if an employee is already booked for a meeting, this is not displayed in Planning. Therefore, their manager can still schedule them some shifts, which they won't be able to…
PURPOSE ======= Currently, if an employee is already booked for a meeting, this is not displayed in Planning. Therefore, their manager can still schedule them some shifts, which they won't be able to attend because they are already busy elsewhere. This means that they have to contact their manager and the latter has to make the necessary adjustements afterwards, which is a headache. The manager can still open the Calendar app on another screen and double-check the availabilities of the employee before scheduling anything, but that's not practical. In addition, it would skew the reporting as it would appear that the employee hasn't been assigned enough hours, when it is the case. SPECS ===== When a `calendar.event` is created, a `planning.slot` is automatically generated when: - the event visibility (`show_as`) is set to `busy`; - the attendee has accepted the invite. The `Meeting` role cannot be edited (but its color) nor deleted as it's the default one assigned. TaskID: 2581479
Enhancements to existing features
Users can now generate the planning schedule as a PDF, making it easier to print and share around the office. The same PDF is also attached automatically when sending planning emails, helping recipients keep a portable copy.
Original PR description
Generate the planning by PDF, so it can easily printed to be shown around in the office, etc. The planning is also attached to the email sent by the "Send Planning" wizard. TaskID: 2271395
Planning now uses an employee’s normal working calendar to set shift start and end times, even when the employee is on leave that day. This avoids shifts being shown as full-day entries and makes schedules more accurate for managers.
Original PR description
[IMP] planning: match the shift start and end datetime when on leave If the employee is on leave on a certain day and a shift is scheduled on the day he is on leave, it will default the start and end of the shift from 0:00 to 23:59 in planning. This PR defaults the start and end date based on the resource calendar of the employee regardless of the employee being on leave or not task-2632775 Related PR: odoo/odoo#79127