Daily updates from Odoo
Thursday, July 7, 2022
1 change
Enhancements to existing features
Appointment availability slots can now be configured to end exactly at midnight, instead of requiring a workaround ending at 23:59. This makes scheduling clearer and more accurate for businesses offering late-day or full-day availability.
Original PR description
Previously, midnight couldn't be set as end of a slot, 23:59 was used instead. With this change, 00:00 can be used as 00:00 of the next day. Technical note: - method AppointmentSlot._end_hour_24_get has been added to facilitate checks and computation. We haven't converted it as a computed field because it is merely used in compute and checks which would have required to add not straightforward dependencies to those methods (end_hour_24). Task-2810493