TIP: You can type at any time to perform a new search.
Sell resource booking products in your eCommerce
website_sale_resource_booking · OCA/e-commerce
- Repository
- OCA/e-commerce · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Website
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/e-commerce
- Last tracking update
- 2026-08-07 08:23:00
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Víctor Martínez, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- cssselect, geoip2
- System dependencies
- None
- Required by
- None
- Description
This module extends the functionality of `sale_resource_booking` to support the eCommerce use case and to allow your visitors to buy products that produce a resource booking, and pre-book them before buying. You can also set a timeout for those pre-bookings to expire if unpaid.
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product |
product | ir.ui.view | qweb | Inherits website_sale.product |
product_template_form_view |
Display booking expiration | product.template | form | Inherits sale_resource_booking.product_template_form_view |
scheduling |
Schedule Bookings | ir.ui.view | qweb | New |
scheduling_calendar |
Resource Booking Calendar for Checkout | ir.ui.view | qweb | Inherits resource_booking.scheduling_calendar |
HTTP endpoints (2)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/shop/booking/<int:index>/confirm |
WebsiteSale.booking_confirm |
public | http | ALL | sudo website |
/shop/booking/<int:index>/schedule, /shop/booking/<int:index>/schedule/<int:year>/<int:month> |
WebsiteSale.booking_schedule |
public | http | ALL | website |
Models touched (5)
New fields (2)
-
resource_booking_expirationDatetimecompute='_compute_resource_booking_expiration' -
resource_booking_timeoutFloatdefault=1help='When resources are pre-booked, the booking will expire after this timeout if the quotation is not confirmed in time.' args: 'Pre-booking timeout'
No public methods.
New fields (3)
-
expirationDatetimehelp='When will this booking expire if its related quotation is not confirmed in time?' -
prereserved_emailChar -
prereserved_nameChar
-
action_cancel(self)Clean personal/cron data that you will never need again. Keeping this information without a clear purpose would incur into legal obligations in some countries, so it's better to just dump it.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- no CI data
- Open since
- 1050 days ago
- Last activity
- 157 days ago
- Repository
- OCA/e-commerce
- Pull request
- [16.0][MIG] website_sale_resource_booking (#851)
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 0 days ago
- Last activity
- 0 days ago
- Repository
- OCA/e-commerce
- Pull request
- [19.0][MIG] website_sale_resource_booking: Migration to version 19.0 (#1296)