Sell resource booking products in your eCommerce
website_sale_resource_booking · OCA/e-commerce
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
5 models
4 views
3 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product |
product | ir.ui.view | qweb | Inherits website_sale.cta_wrapper |
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 3
| 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 |
| (inherited route override) | WebsiteSale.shop_checkout |
inherited | http | ALL |
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…
Loading…
Loading…