Monday, July 29, 2024
1 change · saas-17.2
Resolved issues and error corrections
This fix prevents the appointment scheduler from crashing when a resource booking is saved with an end time earlier than its start time. Users will no longer encounter an error in this edge case, improving reliability when correcting scheduling mistakes.
Original PR description
**How to reproduce** 1). Create an event in the resources appointment type 2). Set the start time > end time --> traceback Traceback is coming after this commit -: https://github.com/odoo/enterprise/pull/60094/commits/53341e0c26cc1bff6c3ef0b1d032d31c69617627 **Technical** When we set the end time < the start time then intervals are found due to this it fails to assign any value on_leave_resource_ids field in the compute function which leads to a traceback. **After this commit** The traceback is resolved. Task-4010880