添加功能
This commit is contained in:
@@ -676,7 +676,7 @@ class HrAttendance(models.Model):
|
||||
next_day = current_date + timedelta(days=1)
|
||||
start_datetime = datetime.combine(current_date, datetime.min.time()) - timedelta(hours=8)
|
||||
check_out_end = self.float_to_datetime(current_date, template.check_out_end)
|
||||
if template.day2 == '次日':
|
||||
if template.check_out_end < template.check_out_start:
|
||||
check_out_end = self.float_to_datetime(next_day, template.check_out_end)
|
||||
domain = [
|
||||
('employee_id', '=', employee_id.id),
|
||||
|
||||
Reference in New Issue
Block a user