Repository
OCA/hr-attendance · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-attendance
Last tracking update
2026-08-07 08:42:58
Authors
Odoo Community Association (OCA), Creu Blanca, Landoo
Maintainers
Odoo Community Association (OCA), Creu Blanca, Landoo
Committers
OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

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…