Tuesday, June 24, 2025
2 changes
Enhancements to existing features
Rental orders can now be linked to planning slots so availability is checked before a customer books online. This helps businesses such as hotels, bike rentals, or car rentals avoid accepting bookings when the required resource is already unavailable.
Original PR description
## [IMP] website_sale{_stock}_renting: move hook in website_sale_renting This commit reviews a bit the code in WebsiteSaleDaterangePicker to be able to reuse the product availabilities feature…
## [IMP] website_sale{_stock}_renting: move hook in website_sale_renting
This commit reviews a bit the code in WebsiteSaleDaterangePicker to be
able to reuse the product availabilities feature developed in
website_sale_stock_renting to be able to reuse it in other module
depending on website_sale_renting module.
## [IMP] {sale_renting_}planning: bind slot and SO
In the case of Rental of services, such as bike rental, car rental, hotel room rental...
Relying on the resources makes a lot of sense. It is already enabled to book a resource in such case!
However, when no resources are available for the role specified by the product, a booking (Rental Order)
can anyway be confirmed which therefore leads to conflicts in planning since no resources are available for this order!
In the case of an hotel, they can't make a new room!
Such use case can be worked around in Rental with some automations.
However, eCommerce needs to be fed with availabilities in order to prevent double booking from website.
task-4863072Appointment scheduling can now limit how many people each staff member can handle per time slot, not just resources like rooms or equipment. Businesses can also allow multiple separate bookings in the same slot up to a configured limit, making group classes, consultations, and visits easier to manage.
Original PR description
Before this commit, we only managed resources' capacities for the appointments. From this commit we extend the manage capacities for the users. Users can be booked for the given number of people at max. Also, the user's capacity is shared therefore different people can book an appointment with a user until the capacity of the user. Task-4144546