Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Events Organization

Entity: event.event.ticket

Compute Method: _compute_is_sold_out

Inputs Method Outputs
for ticket in self:
            ticket.is_sold_out = (
                (ticket.seats_limited and not ticket.seats_available)
                or ticket.event_id.event_registrations_sold_out
            )

Back to entity