Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 8 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 10.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.06 MB
Module directory on disk
Code analysis 1 migration note 4 models 4 views 0 HTTP endpoints

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

Odoo dependencies
OCA/hr-attendance:
odoo/odoo:
- hr
- web
- bus
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
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…

Loading…