Repository
OCA/hr-attendance · module folder · Try on Runboat
Module version
1.0.1
Category
Human Resources
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-attendance
Last tracking update
2026-08-07 08:23:02
Authors
Odoo Community Association (OCA)
Maintainers
Odoo Community Association (OCA)
Committers
Carlos Lopez, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
Odoo dependencies
OCA/hr-attendance:
odoo/odoo:
- hr
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description
This module close stale attendances automatically. Without this module,
when an employee forgets to check out at the end on the day and the next
day the employee does not realize of that, then the error is propagated
and all the attendances are wrong. With this module only the attendance
with the issue is wrong, and the manager knows the system closes the
attendance, not the employee

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance form Inherits hr_attendance.hr_attendance_view_form
res_config_settings_view_form res.config.settings form Inherits hr_attendance.res_config_settings_view_form
view_attendance_tree hr.attendance.tree hr.attendance tree Inherits hr_attendance.view_attendance_tree
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee form Inherits hr_attendance.view_employee_form_inherit_hr_attendance
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)

New fields (1)
  • no_autoclose Boolean
    groups='hr.group_hr_user' string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2)
  • hr_attendance_autoclose_reason Many2one → hr.attendance.reason
    default=<expr> args: 'hr.attendance.reason'
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    readonly=False related='company_id.attendance_maximum_hours_per_day'
  • hr_attendance_autoclose_reason Many2one
    readonly=False related='company_id.hr_attendance_autoclose_reason'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
388 days ago
Last activity
3 days ago
Repository
OCA/hr-attendance
Pull request
[18.0][MIG] hr_attendance_autoclose > hr_attendance_flexible_autoclose: Migration to 18.0 (#228)
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
190 days ago
Last activity
188 days ago
Repository
OCA/hr-attendance
Pull request
[19.0][MIG] hr_attendance_autoclose: Migration to 19.0 (#252)