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_from

View 20.0
Inputs Method Outputs
+ """ Wall clock of the request, restamped in the reader's timezone: 8:00 in Tokyo
+         looks like 8:00 in Brussels. """
+ reader_tz = self._reader_tz()
+ for leave in self:
+             leave.request_date_hour_from = leave._get_request_date_hours(reader_tz)[0]
  • request_date_hour_from

Back to entity