TIP: You can type at any time to perform a new search.
Hr Attendance Validation
hr_attendance_validation · OCA/hr-attendance
- Repository
- OCA/hr-attendance · module folder · Try on Runboat
- Module version
- 1.1.0
- Category
- Human Resources
- Folder size
- 0.19 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), Pierre Verkest
- Maintainers
- Odoo Community Association (OCA), Pierre Verkest
- Committers
- Enric Tobella, Pierre Verkest, Weblate, OCA-git-bot, oca-ci
Code Analysis ⓘ
Views touched (11)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
hr_attendance_validation assets | ir.ui.view | qweb | Inherits web.assets_backend |
edit_holiday_status_form |
hr.leave.type.form | hr.leave.type | form | Inherits hr_holidays.edit_holiday_status_form |
hr_attendance_validation_sheet_view_form |
hr.attendance.validation.sheet.form | hr.attendance.validation.sheet | form | New |
hr_attendance_validation_sheet_view_form_manager |
hr.attendance.validation.sheet.form.manager | hr.attendance.validation.sheet | form | Inherits hr_attendance_validation_sheet_view_form |
hr_attendance_validation_sheet_view_pivot |
hr.attendance.validation.sheet.pivot | hr.attendance.validation.sheet | pivot | New |
hr_attendance_validation_sheet_view_tree |
hr.attendance.validation.sheet.tree | hr.attendance.validation.sheet | tree | New |
hr_attendance_validation_sheet_views_filter |
hr.attendance.validation.sheet.filter | hr.attendance.validation.sheet | search | New |
hr_attendance_view_form |
hr.attendance.form | hr.attendance | form | Inherits hr_attendance.hr_attendance_view_form |
hr_attendance_view_search |
hr.attendance.search | hr.attendance | search | Inherits hr_attendance.hr_attendance_view_filter |
hr_attendance_view_tree |
hr.attendance.tree | hr.attendance | tree | Inherits hr_attendance.view_attendance_tree |
res_config_settings_view_form |
res.config.settings.view.form.inherit.enrj.solaire | 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 (2)
-
is_overtime_dueBooleandefault=Falsehelp='Whether the overtime is due or not. By default overtime is not due until a manager validates it.'string='Is overtime due' -
validation_sheet_idMany2one → hr.attendance.validation.sheetstring='Validation sheet' args: 'hr.attendance.validation.sheet'
-
create(self, *args, **kwargs)@api.model -
unlink(self, *args, **kwargs) -
write(self, *args, **kwargs)
New fields (19)
-
attendance_due_idsOne2many → hr.attendancecompute='_compute_attendance_due_ids'string='Valid attendances' args: 'hr.attendance' -
attendance_hoursFloatcompute='_compute_attendances_hours'help='Compute number of attendance lines not marked as overtime' args: 'Attendance (hours)' -
attendance_idsOne2many → hr.attendanceinverse_name='validation_sheet_id'string='Attendances' args: 'hr.attendance' -
attendance_total_hoursFloatcompute='_compute_attendances_hours'help='Validated attendances. Sum attendance and due overtime lines.' args: 'Total Attendance (hours)' -
calendar_idMany2one → resource.calendarrelated='employee_id.resource_calendar_id'string='Calendar' args: 'resource.calendar' -
compensatory_hourFloathelp='Compensatory hours that will be allocated to the employee.' args: 'Compensatory hour' -
date_fromDatedefault=_default_from_daterequired=Truestring='Date from' -
date_toDatedefault=_default_to_daterequired=Truestring='Date to' -
employee_idMany2one → hr.employeeindex=Trueondelete='cascade'required=Truestring='Employee' args: 'hr.employee' -
leave_allocation_idMany2one → hr.leave.allocationhelp='Automatically generated on validation if compensatory_hour > 0'string='Leave allocation' args: 'hr.leave.allocation' -
leave_hoursFloatcompute='_compute_leaves'help='Compute number of leaves in hours' args: 'Leaves (hours)' -
leave_idMany2one → hr.leavehelp='Automatically generated on validation if regularization_compensatory_hour_taken > 0'string='Leave' args: 'hr.leave' -
leave_idsMany2many → hr.leavestring='Leaves' args: 'hr.leave' -
overtime_due_hoursFloatcompute='_compute_attendances_hours'help='Compute number of attendance lines marked as overtime which are marked as due' args: 'Overtime due (hours)' -
overtime_not_due_hoursFloatcompute='_compute_attendances_hours'help='Compute number of attendance lines marked as overtime which are not due' args: 'Overtime not due (hours)' -
regularization_compensatory_hour_takenFloathelp='Compensatory hours that will be counted as leaves for the employee.' args: "Regularization compensatory hours' taken" -
require_regenerationBooleandefault=Falsehelp="Couldn't properly call action retrieve lines in onchange instead alert user to click on it when needs." args: 'Require regeneration' -
stateSelectiondefault='draft'required=Truestring='State' args: [('draft', 'To review'), ('validated', 'Validated')] -
theoretical_hoursFloathelp='Theoretical calendar hours to spend by week.'related='calendar_id.total_hours'string='Theoretical (hours)'
-
action_retrieve_attendance_and_leaves(self)Action to retrieve both attendance and leave lines -
action_to_review(self) -
action_validate(self)Method to validate this sheet and generate leave allocation if necessary -
generate_reviews(self)@api.model -
name_get(self)
New fields (1)
-
hours_current_weekFloatcompute='_compute_hours_current_week'
No public methods.
New fields (1)
-
validation_sheet_idMany2one → hr.attendance.validation.sheetstring='Validation sheet' args: 'hr.attendance.validation.sheet'
No public methods.
New fields (1)
-
ignored_in_attendance_validationBoolean
No public methods.
New fields (1)
-
hr_attendance_compensatory_leave_type_idMany2one → hr.leave.typeconfig_parameter='hr_attendance_validation.leave_type_id'default=<expr>help='Compensatory leave type used while validate weekly attendance sheet.'required=True args: 'hr.leave.type', 'Overtime compensatory leave type'
No public methods.
New fields (1)
-
total_hoursFloatcompute='_compute_total_hours'help='Total theoretical hours used to compute compensatory days' args: 'Total calendar hours'
No public methods.
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 478 days ago
- Last activity
- 21 days ago
- Repository
- OCA/hr-attendance
- Pull request
- [17.0][MIG] hr_attendance_validation (#221)