Skip to content

Commit

Permalink
[ADD] is_skip
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Jul 8, 2024
1 parent b860643 commit 4c6786c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssi_fingerspot/models/fingerspot_attendance_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _generate_attendances(self):

def action_generate_attendances(self):
to_generate = self.filtered(
lambda x: x.is_transfer is False and x.employee_id
lambda x: x.is_transfer is False and x.is_skip is False and x.employee_id
).sorted(lambda m: (m.pin))

tz = pytz.timezone(self.env.user.tz or "Asia/Jakarta")
Expand Down

0 comments on commit 4c6786c

Please sign in to comment.