Merge pull request #3831 from expsa/bakry_hr

Bakry hr
This commit is contained in:
bakry 2025-07-09 13:18:02 +03:00 committed by GitHub
commit 6cb7d7d957
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -549,7 +549,8 @@ class HrAttendanceTransactions(models.Model):
out_dt = fields.Datetime.from_string(out.name)
if out_dt < next_min_in_dt:
one_out_dt = out_dt
checkout_device = out.device_id
#checkout_device = out.device_id
checkout_device = out.device_id if at_device else False
linked_out_ids.append(out.id)
signed = True
else: