HR Attendance Reason
hr_attendance_reason · OCA/hr-attendance
OCA/hr 10.0–12.0 → OCA/hr-attendance 13.0–19.0
Health
77/100
good
-
Security22/251 minor finding
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 10 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis
0 migration notes
5 models
5 views
5 HTTP endpoints
Description
This module allows to define reasons why the attendance is not what expected. Some example reasons are
- Could not access the system: Visit a customer
- Leave soon to pick up children
- The Hr manager amended the attendance and needs to tell
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_attendance_reason_view_form |
hr.attendance.reason.form | hr.attendance.reason | form | New |
hr_attendance_reason_view_tree |
hr.attendance.reason.list | hr.attendance.reason | list | New |
hr_attendance_view_form |
hr.attendance.form | hr.attendance | form | Inherits hr_attendance.hr_attendance_view_form |
hr_attendance_view_tree |
hr.attendance.list | hr.attendance | list | Inherits hr_attendance.view_attendance_tree |
res_config_settings_view_form |
res.config.settings.view.form.inherit.hr.attendance.reason | res.config.settings | form | Inherits hr_attendance.res_config_settings_view_form |
HTTP endpoints 5
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/hr_attendance_reason/get_reasons |
HrAttendance.attendance_get_reasons |
public | jsonrpc | ALL | sudo |
/hr_attendance_reason/reason_settings |
HrAttendance.kiosk_reason_settings |
public | jsonrpc | ALL | |
/hr_attendance/manual_selection |
HrAttendance.manual_selection |
public | jsonrpc | ALL | |
/hr_attendance/systray_check_in_out |
HrAttendance.systray_attendance |
user | jsonrpc | ALL | |
/hr_attendance/attendance_user_data |
HrAttendance.user_attendance_data |
user | jsonrpc | ALL | sudo |
Models touched 5
New fields (1)
-
attendance_reason_idsMany2many → hr.attendance.reasoncomodel_name='hr.attendance.reason'help='Specifies the reason for signing In/signing Out in case of less or extra hours.'string='Attendance Reason'
No public methods.
New fields (6)
-
action_typeSelectionhelp='Leave empty if it is independent' args: [('sign_in', 'Sign in'), ('sign_out', 'Sign out')] -
codeCharargs: 'Reason Code' -
company_idMany2one → res.companycomodel_name='res.company'string='Company' -
nameCharhelp='Specifies the reason leaving soon or arriving late'index='trigram'required=Truestring='Reason'translate=True -
sequenceInteger -
show_on_attendance_screenBooleanstring='Show on attendance screen?'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (4)
-
reason_on_attendance_screen_default_sign_inMany2one → hr.attendance.reasoncheck_company=Truedomain=[('action_type', '=', 'sign_in'), ('show_on_attendance_screen', '=', True)]string='Default sign-in reason for attendance screen' args: 'hr.attendance.reason' -
reason_on_attendance_screen_default_sign_outMany2one → hr.attendance.reasoncheck_company=Truedomain=[('action_type', '=', 'sign_out'), ('show_on_attendance_screen', '=', True)]string='Default sign-out reason for attendance screen' args: 'hr.attendance.reason' -
required_reason_on_attendance_screenBooleanstring='Required reason on attendance screen' -
show_reason_on_attendance_screenBooleanstring='Show reasons on attendance screen'
No public methods.
New fields (4)
-
reason_on_attendance_screen_default_sign_inMany2onereadonly=Falserelated='company_id.reason_on_attendance_screen_default_sign_in' -
reason_on_attendance_screen_default_sign_outMany2onereadonly=Falserelated='company_id.reason_on_attendance_screen_default_sign_out' -
required_reason_on_attendance_screenBooleanreadonly=Falserelated='company_id.required_reason_on_attendance_screen' -
show_reason_on_attendance_screenBooleanreadonly=Falserelated='company_id.show_reason_on_attendance_screen'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…