Repository
OCA/hr-attendance · module folder · Try on Runboat
Module version
1.0.1
Category
Human Resources
Folder size
0.2 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-attendance
Last tracking update
2026-08-07 07:47:41
Authors
Odoo Community Association (OCA), Pierre Verkest
Maintainers
Odoo Community Association (OCA), Pierre Verkest
Committers
Pierre Verkest, Ricardoalso, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_attendance_validation
Description

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
assets_backend hr_attendance_overtime assets ir.ui.view qweb Inherits web.assets_backend
hr_attendance_reason_view_form hr.attendance.reason.form hr.attendance.reason form Inherits hr_attendance_reason.hr_attendance_reason_view_form
hr_attendance_reason_view_tree hr.attendance.reason.tree hr.attendance.reason tree Inherits hr_attendance_reason.hr_attendance_reason_view_tree
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
qunit_suite hr attendance overtime tests ir.ui.view qweb Inherits web.qunit_suite_tests
view_resource_calendar_attendance_form resource.calendar.attendance.form resource.calendar.attendance form Inherits resource.view_resource_calendar_attendance_form
view_resource_calendar_attendance_tree resource.calendar.attendance.tree resource.calendar.attendance tree Inherits resource.view_resource_calendar_attendance_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (1)
  • is_overtime Boolean
    default=False string='Overtime'
Public methods (2)
  • autoclose_attendance(self, reason)
  • needs_autoclose(self)
    Overwrite methode from hr_attendance_autoclose to determine if line should be closed according the end line work time

New fields (1)
  • description Char
    help='Description displayed on kiosk while Check-in/Check-out.Leave empty if you wish to display nothing.' string='Description' translate=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • todays_working_times(self, empl_domain)
    @api.model
    Method used by my attendance/kiosk view in order to display employee planning and working times

New fields (0)

No new fields.

Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (4)
  • hour_check_in_from Float
    default=0 help='Check-in before will create attendance lines marked as overtime until this hour.' required=True string='Work from check-in from'
  • hour_check_in_to Float
    default=0 help='Check-in after will add a late reason on the attendance line.' required=True string='Work from check-in to'
  • hour_check_out_from Float
    default=0 help='Check-out before will add an early reason on attendance line.' required=True string='Work to check-out from'
  • hour_check_out_to Float
    default=0 help='Check-out after will create two attendances the last marked as overtime.' required=True string='Work to check-out to'
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
303 days ago
Last activity
55 days ago
Repository
OCA/hr-attendance
Pull request
[17.0][MIG] hr_attendance_overtime (#234)