Friday, November 12, 2021
1 change · master
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