Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 2 models 4 views 0 HTTP endpoints

Description

Attendance changes will now be registered in the chatter. This will help prevent cheating in check-in or check-out time. List and form views also include this change information.

Use cases:

  • Attendances created from kiosk or check-in/check-out screens, are created as automatic. If their check-in or check-out dates are modified by any user, attendances are checked as 'Manually changed'.
  • Attendances created from form view will apply a 60 seconds tolerance between entered and real times. If this tolerance is surpassed, attendances are checked as 'Manually changed'.

Note:

  • Attendances already created won't be checked automatically on installation since it could take a large amount of time. If this is wanted it will be necessary to do it manually later.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance form Inherits hr_attendance.hr_attendance_view_form
hr_attendance_view_search hr.attendance.search hr.attendance search Inherits hr_attendance.hr_attendance_view_filter
hr_attendance_view_tree hr.attendance.tree hr.attendance tree Inherits hr_attendance.view_attendance_tree
hr_attendance_view_tree_open hr.attendance.tree hr.attendance tree Inherits hr_attendance.view_attendance_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • check_in Datetime
    tracking=True
  • check_out Datetime
    tracking=True
  • employee_id Many2one
    tracking=True
  • time_changed_manually Boolean
    default=False help='This attendance has been manually changed by user. If attendance is created from form view, a 60 seconds tolerance will be applied.' readonly=True string='Time changed'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (2)
  • last_check_in Datetime
    tracking=False
  • last_check_out Datetime
    tracking=False
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…