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

Module: Minimum seats in events

Entity: event.event

Compute Method: _compute_seats_min

Inputs Method Outputs
  • event_type_id
  • event_type_id.default_registration_min
for event in self.filtered("event_type_id"):
            event.seats_min = event.event_type_id.default_registration_min

Back to entity