Sell event reservations
event_sale_reservation · OCA/event
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 6 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
7 models
6 views
0 HTTP endpoints
Description
This module extends the functionality of event_sale to support selling reservations of events that still don't exist and to allow you to schedule the creation of events based on how many reservations already exist.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
event_sale_product_template_form |
Allow products that are event registrations | product.template | form | Inherits product.product_template_form_view |
registration_editor_reservations_view_form |
Convert reservation into registrations | registration.editor | form | New |
view_event_type_form |
Link to reservations from type | event.type | form | Inherits event.view_event_type_form |
view_event_type_tree |
Rerservations info from event category tree | event.type | list | Inherits event.view_event_type_tree |
view_order_product_search |
Event type search | sale.report | search | Inherits sale.view_order_product_search |
view_sale_order_form_inherit_event |
Event reservation management | sale.order | form | Inherits event_sale.sale_order_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (2)
-
reserved_sale_order_line_idsOne2many → sale.order.linecomodel_name='sale.order.line'inverse_name='event_reservation_type_id'string='Reserved sale order lines' -
seats_reservation_totalIntegercompute='_compute_reservations_total'help='Seats reserved for events of this type.'store=Truestring='Reserved seats'
-
action_open_sale_orders(self)Display SO that include reservations.
New fields (2)
-
event_reservation_type_idMany2one → event.typecomodel_name='event.type'help='Type of events that can be reserved by buying this product'index=Truestring='Event type for reservations' -
service_trackingSelectionondelete={'event_reservation': 'set default'}selection_add=[('event_reservation', 'Event Reservation')]
No public methods.
New fields (0)
No new fields.
Public methods (2)-
action_convert_to_registration(self)Convert reservations to registrations. We use the skip_event_sale_registration_multi_qty context to "skip" the operation of the event_sale_registration_multi_qty addon because they are "incompatible with each other". -
default_get(self, fields)@api.modelGet data needed to register reservations.
New fields (1)
-
event_reservation_type_idMany2onereadonly=Truerelated='sale_order_line_id.event_reservation_type_id'
No public methods.
New fields (1)
-
event_reservations_pendingIntegercompute='_compute_event_reservations_pending'help='Indicates how many event reservations are still not linked to any registration.'string='Pending event reservations'
No public methods.
New fields (3)
-
event_registration_countIntegercompute='_compute_event_registration_count'help='Count of event registrations related to this sale order line'store=True -
event_registration_idsOne2many → event.registrationcomodel_name='event.registration'help='Event registrations related to this sale order line'inverse_name='sale_order_line_id'string='Event registrations' -
event_reservation_type_idMany2oneindex=Truereadonly=Truerelated='product_id.event_reservation_type_id'store=True
No public methods.
New fields (1)
-
event_reservation_type_idMany2one → event.typecomodel_name='event.type'readonly=Truestring='Event reservation type'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…