Daily updates from Odoo
Tuesday, March 22, 2022
2 changes
Enhancements to existing features
The appointment booking calendar now guides visitors to available time slots more clearly, including helpful messages when no slots are available and links to the next action. Logged-in users creating appointment types also get better setup support, such as default employee selection and clearer explanations when availability is missing.
Original PR description
In master, the calendar UI to register for an appointment is unclear. In this commit, we improve the design for visitors in a few ways: - When landing on the calendar page of an appointment type, the…
In master, the calendar UI to register for an appointment is unclear. In this commit, we improve the design for visitors in a few ways: - When landing on the calendar page of an appointment type, the first available slot is selected for the visitor, instead of potentially leaving them on an empty month. When switching months, the selected slot (if any) is cleared to avoid confusion. - When a month has no available slot, a descriptive message is shown on the right side, with a relevant icon, and a link to the first available slot. - When an appointment type has no available slot altogether, a message is also displayed on the right side, with a relevant icon, and a link to the 'contact us' page. We also improve the experience of logged-in users: - When creating an appointment type from the front end, the employees can be picked directly, and the current user is added to the list by default (but can be removed if needed, of course). - When an appointment type has no available slot, a relevant message is shown on top of the calendar, specifying why there aren't any (no employee, no availabilities configured,...). A link to the back end is also added. task-2501575
Employees can now cancel past time off when payroll is installed, provided no validated payslip covers that period and they had an active contract during the leave. This gives HR and employees more flexibility to correct past absences while preserving payroll validation controls.
Original PR description
Prior to this commit there was no way for the employee to cancel a leave in the past. However when payroll is installed, it should be possible as long as no payslip has been validated for that period. It will now be possible to do that as long as the employee has a contract active for the time off's period. Otherwise the old rules still apply. TaskId-2792249