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.slot

Compute Method: _compute_is_sold_out

Inputs Method Outputs
for slot in self:
            slot.is_sold_out = slot.event_id.seats_limited and not slot.seats_available

Back to entity