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: calendar.calendar

Compute Method: _compute_calendar_user

View 20.0
Inputs Method Outputs
  • calendar_user_ids
+ """ Gets the calendar user record for the current user, if present."""
+ for calendar in self:
+             calendar.calendar_user_id = calendar.calendar_user_ids.filtered(lambda c: c.user_id == self.env.user)
  • calendar_user_id

Back to entity