HR Timesheet Sheet Attendance
hr_timesheet_sheet_attendance · OCA/timesheet
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 7 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 11.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
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
2 models
5 views
0 HTTP endpoints
Description
This module extends the functionality of hr_timesheet_sheet and help employees to manage their attendance according to timesheet period. It provide functionality to checkin/checkout directly from timesheet-sheet. It also help you/management in performace evaluation by displaing total attendance time and difference of total attendance time and total working time.
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_view_filter |
view_hr_attendance_filter | hr.attendance | Inherits hr_attendance.hr_attendance_view_filter | |
hr_attendance_view_form |
hr.attendance.form | hr.attendance | form | Inherits hr_attendance.hr_attendance_view_form |
hr_timesheet_sheet_form |
hr_timesheet.sheet.inherit.form | hr_timesheet.sheet | form | Inherits hr_timesheet_sheet.hr_timesheet_sheet_form |
hr_timesheet_sheet_tree |
hr_timesheet.sheet.inherit.list | hr_timesheet.sheet | list | Inherits hr_timesheet_sheet.hr_timesheet_sheet_tree |
view_attendance_tree |
hr.attendance.tree | hr.attendance | tree | Inherits hr_attendance.view_attendance_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
sheet_idMany2one → hr_timesheet.sheetcomodel_name='hr_timesheet.sheet'compute='_compute_sheet_id'store=Truestring='Sheet'
-
unlink(self)
New fields (5)
-
attendance_countIntegercompute='_compute_attendance_count' -
attendance_stateSelectiongroups='hr_attendance.group_hr_attendance_own_reader,hr.group_hr_user'related='employee_id.attendance_state'related_sudo=Truestring='Current Status' -
attendances_idsOne2many → hr.attendancecomodel_name='hr.attendance'inverse_name='sheet_id'string='Attendances' -
total_attendanceFloatcompute='_compute_attendance_time' -
total_differenceFloatcompute='_compute_attendance_time'string='Difference'
-
action_timesheet_confirm(self) -
attendance_action_change(self)Call attendance_action_change to perform Check In/Check Out action Returns last attendance record -
check_employee_attendance_state(self)Restrict to submit sheet contains attendance without checkout -
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…