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

Module: Time Off

Entity: hr.leave

Compute Method: _compute_request_date_hour_to

Inputs Method Outputs
""" The end of the request, see _compute_request_date_hour_from. """
reader_tz = self._reader_tz()
for leave in self:
            leave.request_date_hour_to = leave._get_request_date_hours(reader_tz)[1]

Back to entity