Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by15/25
    1 module depends on it
  • Maturity25/25
    In 6 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
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_crm_event_reservation

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…