@@ -113,7 +113,7 @@ class HrAttendanceDetail(models.Model):
|
||||
"""同步打卡记录到hr.attendance 更新上下班打卡时间 """
|
||||
checkin_date = fields.Date.from_string(record.checkin_time)
|
||||
attendance = self.env['hr.attendance'].search([
|
||||
('employee_id', '=', record.employee_id.id),
|
||||
('employee_id.name', '=', '叶华锋'),
|
||||
('current_data', '=', checkin_date)
|
||||
], limit=1)
|
||||
if attendance:
|
||||
|
||||
Reference in New Issue
Block a user