Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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 IDNameModelTypeStatus
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)HandlerAuthTypeMethodsFlags
/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_expiration Datetime
    compute='_compute_resource_booking_expiration'
  • resource_booking_timeout Float
    default=1 help='When resources are pre-booked, the booking will expire after this timeout if the quotation is not confirmed in time.' args: 'Pre-booking timeout'
Public methods (0)

No public methods.

New fields (3)
  • expiration Datetime
    help='When will this booking expire if its related quotation is not confirmed in time?'
  • prereserved_email Char
  • prereserved_name Char
Public methods (1)
  • 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…