HR Attendance Auto Close
hr_attendance_autoclose · OCA/hr-attendance
Merged into hr_attendance in 18.0
OCA/hr 10.0–12.0 → OCA/hr-attendance 13.0–17.0
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
check_attendance_cron— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
open_worked_hoursFloatcompute='_compute_open_worked_hours'string='Worked hours'
-
autoclose_attendance(self, reason) -
check_for_incomplete_attendances(self)@api.model -
needs_autoclose(self)
-
no_autocloseBooleangroups='hr.group_hr_user'string="Don't Autoclose Attendances"
No public methods.
-
attendance_maximum_hours_per_dayFloatdefault=11.0digits=(2, 2) -
hr_attendance_autoclose_reasonMany2one → hr.attendance.reasondefault=<expr> args: 'hr.attendance.reason'
No public methods.
-
attendance_maximum_hours_per_dayFloatreadonly=Falserelated='company_id.attendance_maximum_hours_per_day' -
hr_attendance_autoclose_reasonMany2onereadonly=Falserelated='company_id.hr_attendance_autoclose_reason'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…