diff --git a/yuthon_hr_employee/models/yuthon_hr_employee.py b/yuthon_hr_employee/models/yuthon_hr_employee.py index a88de6d09..bc7352558 100644 --- a/yuthon_hr_employee/models/yuthon_hr_employee.py +++ b/yuthon_hr_employee/models/yuthon_hr_employee.py @@ -876,7 +876,6 @@ class YuthonHrEmployee(models.Model): def update_parental_leave(self): today = datetime.now().date() active_contracts = self.env['hr.contract'].search([ - ('employee_id.name','=', '和博延'), ('state', '=', 'open'), ('contract_type_id.name', 'ilike', '正式合同'), ('employee_id', '!=', False)