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_duration

Inputs Method Outputs
for event in self:
            event.duration = self._get_duration(event.start, event.stop)

Back to entity