Skip to content
Health
77/100
good
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 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
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

Odoo dependencies
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 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 sudo

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…

Loading…