TIP: You can type at any time to perform a new search.
HR Attendance Sheet
hr_attendance_sheet · OCA/hr-attendance
- Repository
- OCA/hr-attendance · module folder · Try on Runboat
- Module version
- 1.0.4
- Category
- Human Resources
- Folder size
- 0.24 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/hr-attendance
- Last tracking update
- 2026-08-07 07:47:41
- Authors
- Odoo Community Association (OCA), Odoo S.A.
- Maintainers
- Odoo Community Association (OCA), Odoo S.A.
- Committers
- GitHub, Enric Tobella, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Murtaza Mithaiwala, Urvisha-OSI
Code Analysis ⓘ
Views touched (10)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_attendance_company_payment_window |
res.company | form | Inherits base.view_company_form | |
hr_attendance_employee_view_form |
hr.attendance.employee.form | hr.employee | form | Inherits hr.view_employee_form |
hr_attendance_sheet_attendance_view_form |
hr.attendance.sheet.attendance.form | hr.attendance | form | Inherits hr_attendance.hr_attendance_view_form |
hr_attendance_sheet_attendance_view_tree |
hr.attendance.sheet.attendance.tree | hr.attendance | tree | Inherits hr_attendance.view_attendance_tree |
hr_attendance_sheet_view_form |
hr.attendance.sheet.form | hr.attendance.sheet | form | New |
hr_attendance_sheet_view_search |
hr.attendance.sheet.search | hr.attendance.sheet | search | New |
hr_attendance_sheet_view_tree |
hr.attendance.sheet.tree | hr.attendance.sheet | tree | New |
hr_department_view_form |
hr.department.form | hr.department | form | Inherits hr.view_department_form |
report_hr_attendance_sheet_document |
report_hr_attendance_sheet_document | ir.ui.view | qweb | New |
res_config_settings_view_form |
res.config.settings.view.form.inherit.hr.attendance | res.config.settings | form | Inherits hr_attendance.res_config_settings_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (8)
-
attendance_adminMany2one → hr.employeehelp='In addition to the employees manager, this person can\n administer attendances for all employees in the department. This field\n is set on the department.'related='department_id.attendance_admin'string='Attendance Admin' args: 'hr.employee' -
attendance_sheet_idMany2one → hr.attendance.sheetcompute='_compute_attendance_sheet_id'store=Truestring='Sheet' args: 'hr.attendance.sheet' -
auto_lunchBooleanhelp='If Auto Lunch is enabled and applied on this attendance.'string='Auto Lunch Applied' -
auto_lunch_enabledBooleanrelated='company_id.auto_lunch'string='Auto Lunch Enabled' -
company_idMany2one → res.companyrelated='attendance_sheet_id.company_id'string='Company' args: 'res.company' -
durationFloatcompute='_compute_duration'string='Duration (Hrs)' -
override_auto_lunchBooleanhelp="Enable if you don't want the auto lunch to calculate."string='Override Auto Lunch' -
override_reasonTexthelp='State the reason you are overriding the auto lunch.'string='Override Reason'
-
unlink(self)Restrict to delete attendance from confirmed/locked sheet -
write(self, vals)Restrict to write attendance from confirmed/locked sheet.
New fields (20)
-
activeBooleandefault=Truestring='Active' -
attendance_adminMany2one → hr.employeehelp='In addition to the employees manager, this person can\n administer attendances for all employees in the department. This field\n is set on the department.'related='department_id.attendance_admin'string='Attendance Admin' args: 'hr.employee' -
attendance_idsOne2many → hr.attendancestring='Attendances' args: 'hr.attendance', 'attendance_sheet_id' -
can_reviewBooleancompute='_compute_can_review'search='_search_can_review'string='Can Review' -
company_idMany2one → res.companyrelated='employee_id.company_id'string='Company' args: 'res.company' -
date_endDateindex=Truerequired=Truestring='Date To' -
date_startDateindex=Truerequired=Truestring='Date From' -
department_idMany2one → hr.departmentrelated='employee_id.department_id'string='Department' args: 'hr.department' -
employee_idMany2one → hr.employeerequired=Truestring='Employee' args: 'hr.employee' -
hours_to_workFloathelp='Expected working hours based on company policy. This is used on attendance sheets to calculate overtime values.'related='employee_id.hours_to_work'string='Hours to Work' -
manager_idMany2one → hr.employeerelated='employee_id.parent_id'string='Manager' args: 'hr.employee' -
nameCharcompute='_compute_name' -
overtimeFloatcompute='_compute_overtime'store=True -
review_policySelectionrelated='company_id.attendance_sheet_review_policy'string='Review Policy' -
reviewed_onDatetimereadonly=Truestring='Reviewed On' -
reviewer_idMany2one → hr.employeereadonly=Truestring='Reviewer'tracking=True args: 'hr.employee' -
stateSelectiondefault='draft'index=Truereadonly=Truerequired=Truestring='Status'tracking=True args: [('draft', 'Draft'), ('confirm', 'Waiting Review'), ('done', 'Approved'), ('locked', 'Locked')] -
total_timeFloatcompute='_compute_total_time'store=True -
user_idMany2one → res.usersrelated='employee_id.user_id'store=Truestring='User' args: 'res.users' -
working_hoursMany2one → resource.calendarrelated='employee_id.resource_calendar_id'string='Working Hours' args: 'resource.calendar'
-
action_attendance_sheet_confirm(self)Restrict to submit sheet contains attendance without checkout. -
action_attendance_sheet_done(self)Approve button. -
action_attendance_sheet_draft(self)Convert to Draft button. -
action_attendance_sheet_lock(self)Lock button to lock the sheet and prevent any changes. -
action_attendance_sheet_refuse(self)Refuse button sending back to draft. -
action_attendance_sheet_unlock(self)Unlock button, moves back to Confirm (Must have HR Group). -
activity_update(self)Activity processing that shows in chatter for approval activity. -
attendance_action_change(self)Call to perform Check In/Check Out action -
check_pay_period_dates(self) -
create(self, vals)@api.modelOn create, link existing attendances. -
write(self, values)Prevent writing on a locked sheet.
New fields (1)
-
attendance_adminMany2one → hr.employeehelp='In addition to the employees manager, this person can\n administer attendances for all employees in the department.'string='Attendance Admin' args: 'hr.employee'
No public methods.
New fields (3)
-
attendance_adminMany2one → hr.employeehelp='In addition to the employees manager, this person can\n administer attendances for all employees in the department. This field\n is set on the department.'related='department_id.attendance_admin'string='Attendance Admin' args: 'hr.employee' -
hours_to_workFloathelp='Expected working hours based on company policy. This is used on attendance sheets to calculate overtime values.'string='Hours to Work' -
use_attendance_sheetsBooleanhelp="Used in the attendance sheet auto creation process. Employees that have the 'Hourly' type will have attendance sheets automatically created"string='Use Attendance Sheets'
No public methods.
New fields (3)
-
attendance_adminMany2one → hr.employeehelp='In addition to the employees manager, this person can\n administer attendances for all employees in the department. This field\n is set on the department.'related='department_id.attendance_admin'string='Attendance Admin' args: 'hr.employee' -
hours_to_workFloathelp='Expected working hours based on company policy. This is used on attendance sheets to calculate overtime values.'string='Hours to Work' -
use_attendance_sheetsBooleanhelp="Used in the attendance sheet auto creation process. Employees that have the 'Hourly' type will have attendance sheets automatically created"string='Use Attendance Sheets'
No public methods.
New fields (9)
-
attendance_sheet_rangeSelectiondefault='WEEKLY'help='The range of your Attendance Sheet.'selection=[('MONTHLY', 'Month'), ('BIWEEKLY', 'Bi-Week'), ('WEEKLY', 'Week'), ('DAILY', 'Day')]string='Attendance Sheet Range' -
attendance_sheet_review_policySelectiondefault='hr'help='How Attendance Sheets review is performed.'selection=[('hr', 'HR Manager/Officer'), ('employee_manager', "Employee's Manager or Attendance Admin"), ('hr_or_manager', "HR or Employee's Manager or Attendance Admin")]string='Attendance Sheet Review Policy' -
attendance_week_startSelectiondefault='0'selection=[('0', 'Monday'), ('1', 'Tuesday'), ('2', 'Wednesday'), ('3', 'Thursday'), ('4', 'Friday'), ('5', 'Saturday'), ('6', 'Sunday')]string='Week Starting Day' -
auto_lunchBooleanhelp='Applies a lunch period if duration is over the max time.'string='Auto Lunch' -
auto_lunch_durationFloathelp='The duration on an attendance that would trigger an auto lunch.'string='Duration' -
auto_lunch_hoursFloathelp='Enter the lunch period that would be used for an auto lunch.'string='Lunch Hours' -
date_endDateindex=Truereadonly=Truestring='Date To' -
date_startDatedefault=datetime.today().date()index=Truestring='Date From' -
use_attendance_sheetsBooleandefault=False args: 'Use Attendance Sheets'
-
create(self, vals)@api.model -
onchange_attendance_sheet_range(self)@api.onchange('attendance_sheet_range') -
set_date_end(self, company) -
write(self, vals)
New fields (6)
-
attendance_sheet_rangeSelectionhelp='The range of your Attendance Sheet.'readonly=Falserelated='company_id.attendance_sheet_range'string='Attendance Sheet Range' -
attendance_sheet_review_policySelectionreadonly=Falserelated='company_id.attendance_sheet_review_policy' -
attendance_week_startSelectionhelp='Starting day for Attendance Sheets.'readonly=Falserelated='company_id.attendance_week_start'string='Week Starting Day' -
auto_lunchBooleanhelp='Forces a lunch period if duration is over the max time.'readonly=Falserelated='company_id.auto_lunch'string='Auto Lunch' -
auto_lunch_durationFloathelp='The duration on an attendance that would trigger an auto lunch.'readonly=Falserelated='company_id.auto_lunch_duration'string='Duration' -
auto_lunch_hoursFloathelp='Enter the lunch period that would be used for an auto lunch.'readonly=Falserelated='company_id.auto_lunch_hours'string='Lunch Hours'
No public methods.
Loading…