pms
pms copied to clipboard
[14.0] pms website sale
Hi there,
We'd like to submit this WIP module. It allows to book a room online through the portal. The user first lands on the room list. They can filter by room availability based on dates and add a number of rooms to book.
The flow is then similar to the ecommerce flow : review booking (~basket), add extra info, enter address and proceed to payment.
The flow relies on the booking engine to match the availability computed in the backend. A booking engine is created at each request (might cause performance issues).
The folio is only created when the user clicks on pay. It is then cancelled or confirmed based on the online payment status. The invoice is created if the online payment succeeds.
The module adds the following routes :
- /ebooking/rooms
- /room/<model("pms.room.type"):room_type> (path to be fixed)
- /ebooking/booking
- /ebooking/booking/extra_info
- /ebooking/booking/address
- /ebooking/booking/payment/...
This is still a work in progress, we just showed the MVP to the customer. Comments and advice are welcome.