fix device_id bug
This commit is contained in:
parent
f31bdc45ab
commit
9385e6af32
|
|
@ -531,7 +531,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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue