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

Module: Calendar

Entity: mail.activity.mixin

Compute Method: _compute_activity_calendar_event_id

Inputs Method Outputs
  • activity_ids
"""This computes the calendar event of the next activity.
        It evaluates to false if there is no such event."""
for record in self:
            record.activity_calendar_event_id = fields.first(record.activity_ids).calendar_event_id

Back to entity