TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/hr-attendance · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.12 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr-attendance
Last tracking update
2026-09-15 11:32:06
Authors
Odoo Community Association (OCA), Odoo S.A., Tecnativa
Maintainers
Odoo Community Association (OCA), Odoo S.A., Tecnativa
Committers
Víctor Martínez, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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

Code Analysis info_outline

Views touched (5)
XML IDNameModelTypeStatus
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)HandlerAuthTypeMethodsFlags
/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
Models touched (5)

New fields (1)
  • attendance_reason_ids Many2many → hr.attendance.reason
    comodel_name='hr.attendance.reason' help='Specifies the reason for signing In/signing Out in case of less or extra hours.' string='Attendance Reason'
Public methods (0)

No public methods.

New fields (6)
  • action_type Selection
    help='Leave empty if it is independent' args: [('sign_in', 'Sign in'), ('sign_out', 'Sign out')]
  • code Char
    args: 'Reason Code'
  • company_id Many2one → res.company
    comodel_name='res.company' string='Company'
  • name Char
    help='Specifies the reason leaving soon or arriving late' index='trigram' required=True string='Reason' translate=True
  • sequence Integer
  • show_on_attendance_screen Boolean
    string='Show on attendance screen?'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • reason_on_attendance_screen_default_sign_in Many2one → hr.attendance.reason
    check_company=True domain=[('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_out Many2one → hr.attendance.reason
    check_company=True domain=[('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_screen Boolean
    string='Required reason on attendance screen'
  • show_reason_on_attendance_screen Boolean
    string='Show reasons on attendance screen'
Public methods (0)

No public methods.

New fields (4)
  • reason_on_attendance_screen_default_sign_in Many2one
    readonly=False related='company_id.reason_on_attendance_screen_default_sign_in'
  • reason_on_attendance_screen_default_sign_out Many2one
    readonly=False related='company_id.reason_on_attendance_screen_default_sign_out'
  • required_reason_on_attendance_screen Boolean
    readonly=False related='company_id.required_reason_on_attendance_screen'
  • show_reason_on_attendance_screen Boolean
    readonly=False related='company_id.show_reason_on_attendance_screen'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…