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

Module: Employee Contracts

Entity: hr.contract

Compute Method: _compute_calendar_mismatch

Inputs Method Outputs
for contract in self:
            contract.calendar_mismatch = contract.resource_calendar_id != contract.employee_id.resource_calendar_id

Back to entity