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

Compute Method: _compute_event_begin_date

View 18.0 View 20.0
Inputs Method Outputs
  • event_slot_id
  • event_slot_id.start_datetime
  • event_id
  • event_id.date_begin
+ for registration in self:
+             registration.event_begin_date = registration.event_slot_id.start_datetime or registration.event_id.date_begin
  • event_begin_date

Back to entity