TIP: You can type at any time to perform a new search.
Sell event reservations
event_sale_reservation · OCA/event
Security findings
- Repository
- OCA/event · module folder · Try on Runboat
- Module version
- Category
- Marketing
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/event
- Last tracking update
- 2026-08-19 11:39:11
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- Carlos Lopez, Pilar Vargas, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_crm_event_reservation
- 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.
Code Analysis
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…