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: res.users
Compute Method: _compute_primary_calendar
| Inputs | Method | Outputs |
|---|---|---|
|
+ for user in self: + user.primary_calendar_id = user.calendar_user_ids.filtered( + lambda l: l.is_primary and l.access_role == 'owner').calendar_id |
|
