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_tz_mismatch

Inputs Method Outputs
for leave in self:
            leave.tz_mismatch = leave.tz != self.env.user.tz

Back to entity