Repository
OCA/event · module folder · Try on Runboat
Module version
1.1.0
Category
Marketing
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/event
Last tracking update
2026-08-11 17:15:19
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Adds the option of choosing a session when selling an event ticket.

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
event_configurator_view_form event.event.configurator form Inherits event_sale.event_configurator_view_form
event_sale_report_view_search event.sale.report search Inherits event_sale.event_sale_report_view_search
sale_order_view_form sale.order form Inherits event_sale.sale_order_view_form
view_event_inherit_registration_editor_form registration.editor form Inherits event_sale.view_event_registration_editor_form
view_event_session_form event.session form Inherits event_session.view_event_session_form
view_event_session_tree event.session tree Inherits event_session.view_event_session_tree
view_order_product_search sale.report search Inherits sale.view_order_product_search
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (2)
  • event_session_id Many2one → event.session
    comodel_name='event.session' domain="[('event_id', '=', event_id)]" string='Session'
  • event_use_sessions Boolean
    related='event_id.use_sessions'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • event_session_id Many2one → event.session
    comodel_name='event.session' readonly=True string='Event Session'
Public methods (0)

No public methods.

New fields (3)
  • sale_order_lines_ids One2many → sale.order.line
    comodel_name='sale.order.line' groups='sales_team.group_sale_salesman' inverse_name='event_session_id' string='All sale order lines pointing to this session'
  • sale_price_subtotal Monetary
    compute='_compute_sale_price_subtotal' groups='sales_team.group_sale_salesman' string='Sales (Tax Excluded)'
  • unconfirmed_qty Integer
    compute='_compute_unconfirmed_qty' store=True
Public methods (2)
  • action_view_linked_orders(self)
    View sales orders Simlar to :meth:`~event_sale.models.event_event.action_view_linked_orders`
  • button_open_unconfirmed_event_order(self)

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (1)
  • session_id Many2one → event.session
    comodel_name='event.session' string='Session'
Public methods (1)
  • get_registration_data(self)

New fields (2)
  • event_session_id Many2one → event.session
    comodel_name='event.session' compute='_compute_event_session_id' domain="[('event_id', '=', event_id)]" precompute=True readonly=False store=True string='Session'
  • event_use_sessions Boolean
    related='event_id.use_sessions'
Public methods (0)

No public methods.

New fields (3)
  • event_id Many2one → event.event
    comodel_name='event.event' readonly=True string='Event'
  • event_session_id Many2one → event.session
    comodel_name='event.session' readonly=True string='Event Session'
  • event_ticket_id Many2one → event.event.ticket
    comodel_name='event.event.ticket' readonly=True string='Event Ticket'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…