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

Module: Events Organization

Entity: event.event

Compute Method: _compute_date_end_tz

View 17.0
Inputs Method Outputs
  • date_end
  • date_tz
- for event in self:
-             if event.date_end:
-                 event.date_end_located = format_datetime(
-                     self.env, event.date_end, tz=event.date_tz, dt_format='medium')
-             else:
-                 event.date_end_located = False
  • date_end_located

Back to entity