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 IDNameModelTypeStatus
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_ids One2many → sale.order.line
    comodel_name='sale.order.line' inverse_name='event_reservation_type_id' string='Reserved sale order lines'
  • seats_reservation_total Integer
    compute='_compute_reservations_total' help='Seats reserved for events of this type.' store=True string='Reserved seats'
Public methods (1)
  • action_open_sale_orders(self)
    Display SO that include reservations.

New fields (2)
  • event_reservation_type_id Many2one → event.type
    comodel_name='event.type' help='Type of events that can be reserved by buying this product' index=True string='Event type for reservations'
  • service_tracking Selection
    ondelete={'event_reservation': 'set default'} selection_add=[('event_reservation', 'Event Reservation')]
Public methods (0)

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.model
    Get data needed to register reservations.

New fields (1)
  • event_reservation_type_id Many2one
    readonly=True related='sale_order_line_id.event_reservation_type_id'
Public methods (0)

No public methods.

New fields (1)
  • event_reservations_pending Integer
    compute='_compute_event_reservations_pending' help='Indicates how many event reservations are still not linked to any registration.' string='Pending event reservations'
Public methods (0)

No public methods.

New fields (3)
  • event_registration_count Integer
    compute='_compute_event_registration_count' help='Count of event registrations related to this sale order line' store=True
  • event_registration_ids One2many → event.registration
    comodel_name='event.registration' help='Event registrations related to this sale order line' inverse_name='sale_order_line_id' string='Event registrations'
  • event_reservation_type_id Many2one
    index=True readonly=True related='product_id.event_reservation_type_id' store=True
Public methods (0)

No public methods.

New fields (1)
  • event_reservation_type_id Many2one → event.type
    comodel_name='event.type' readonly=True string='Event reservation type'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…