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

Module: Outlook Calendar

Entity: calendar.event

Compute Method: _compute_microsoft_sync_active

View 20.0
Inputs Method Outputs
  • user_id
+ for event in self:
+             sync_active = (
+                 bool(event.user_id.sudo().microsoft_calendar_rtoken)
+                 and not event.user_id.sudo().microsoft_synchronization_stopped
+             )
+             event.microsoft_sync_active = sync_active
  • microsoft_sync_active

Back to entity