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.event
Compute Method: _compute_privacy_placeholder
| Inputs | Method | Outputs |
|---|---|---|
|
+ privacy_selection_dict = dict(self._fields['effective_privacy']._description_selection(self.env)) + for event in self: + event.privacy_placeholder = privacy_selection_dict.get(event.effective_privacy, _('User default')) |
|
