HR Attendance Holidays

hr_holidays_attendance
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Thibault Delavallée, Yannick Tivisse, Julien Castiaux, Tiffany Chang (tic), Gorash, William Braeckman, Ahmad Khanalizadeh, Dossogne Bertrand, Gaetan Vanden Bergh (gavb), Dylan Kiss (dyki), Mélanie, Youssef Bashandy, Mathieu Coutant, rame-odoo, Abdelrahman Mahmoud (amah), ahta, bona-odoo, Krzysztof Magusiak (krma), pajo, Bertrand Dossogne, Quentin Colla (qucol), suma-odoo, Jurgen Gjini, lebm-odoo, Zachary (zavan), Martin Lefèvre (mlef), Lucas ESTEBAN (lues), Kishan (kiga), 3amo-magdy, Devendra Ladhani, Ziri, hamza, Ahmed Naem (Ahnae)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
    - barcodes
    - base_geolocalize
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Convert employee's extra hours to leave allocations.
    

Code Analysis

Views touched (13)
XML IDNameModelTypeStatus
hr_attendance_employee_simple_tree_view hr.attendance.employee.simple.tree.view.inherit.hr_holidays_attendance hr.attendance list Inherits hr_attendance.hr_attendance_employee_simple_tree_view
hr_attendance_holidays_hr_leave_allocation_view_form_inherit hr.leave.allocation xpath Inherits hr_holidays.hr_leave_allocation_view_form
hr_attendance_overtime_rule_view_form hr.attendance.overtime.rule.form.inherit.hr_work_entry_attendance hr.attendance.overtime.rule group Inherits hr_attendance.hr_attendance_overtime_rule_view_form
hr_employee_view_form_inherit hr.holidays.attendance.employee.view.form.inherit hr.employee xpath Inherits hr.view_employee_form
hr_leave_accrual_level_view_form hr.leave.accrual.level.form hr.leave.accrual.level xpath Inherits hr_holidays.hr_accrual_level_view_form
hr_leave_allocation_overtime_manager_view_form hr.leave.allocation xpath Inherits hr_attendance_holidays_hr_leave_allocation_view_form_inherit
hr_leave_attendance_report_view_form hr.leave.attendance.report.form hr.leave.attendance.report form New
hr_leave_attendance_report_view_list hr.leave.attendance.report.list hr.leave.attendance.report list New
hr_leave_attendance_report_view_pivot hr.leave.attendance.report.pivot hr.leave.attendance.report pivot New
hr_leave_attendance_report_view_search hr.leave.attendance.report.search hr.leave.attendance.report search New
hr_leave_type_view_form hr.leave.type.view.form.inherit hr.leave.type label Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form hr.leave field Inherits hr_holidays.hr_leave_view_form_manager
view_attendance_overtime_line_list hr.attendance hr.attendance field Inherits hr_attendance.hr_attendance_view_form
Models touched (11)

New fields (0)

No new fields.

Public methods (1)
  • init(self)

New fields (1)
  • compensable_as_leave Boolean
    args: 'Compensable as Time Off'
Public methods (0)

No public methods.

New fields (1)
  • compensable_as_leave Boolean
    default=False args: 'Give back as time off'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_overtime_data_by_employee(self)
    Provide a summary of an employee's overtime. A compensable overtime is an overtime that can be cumulated to be used as time off. Extra hours and overtime is used interchangably.

New fields (2)
  • employee_overtime Float
    compute='_compute_employee_overtime' groups='base.group_user'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
Public methods (4)
  • action_approve(self, check_state=True)
  • action_reset_confirm(self)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • frequency Selection
    compute='_compute_frequency' ondelete={'worked_hours': 'cascade'} readonly=False selection_add=[('worked_hours', 'Per Hour Worked')] store=True
Public methods (0)

No public methods.

New fields (2)
  • employee_overtime Float
    compute='_compute_employee_overtime' groups='base.group_user'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
Public methods (4)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • default_get(self, fields)
    @api.model
  • write(self, vals)

New fields (13)
  • active Boolean
    related='employee_id.active'
  • attendance_ids Many2many → hr.attendance
    compute='_compute_leave_attendance_fields' string='Attendances' args: 'hr.attendance'
  • date Date
    args: 'Date'
  • department_id Many2one
    related='employee_id.department_id' string='Department'
  • difference_hours Float
    help='Worked Hours - Expected Hours + Approved Time Off' args: 'Difference'
  • employee_id Many2one → hr.employee
    string='Employee' args: 'hr.employee'
  • expected_hours Float
    args: 'Expected Hours'
  • job_id Many2one
    related='employee_id.job_id' string='Job Position'
  • leave_hours Float
    args: 'Approved Time Off'
  • leave_ids Many2many → hr.leave
    compute='_compute_leave_attendance_fields' string='Time Offs' args: 'hr.leave'
  • leave_type_names Char
    compute='_compute_leave_attendance_fields' args: 'Time Off Types'
  • schedule_id Many2one → resource.calendar
    string='Working Schedule' args: 'resource.calendar'
  • worked_hours Float
    args: 'Worked Hours'
Public methods (1)
  • init(self)

New fields (1)
  • overtime_deductible Boolean
    default=False help='Once a time off of this type is approved, extra hours in attendances will be deducted.' args: 'Deduct Extra Hours'
Public methods (1)
  • get_allocation_data(self, employees, target_date=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Yannick Tivisse, Odoo Online, Tiffany Chang (tic), Ahmad Khanalizadeh, Florian Damhaut, Dossogne Bertrand, Gaetan Vanden Bergh (gavb), Dylan Kiss (dyki), Simon Goffaux (sigo), Dawn Hwang, kdeb@odoo.com, Mélanie, Youssef Bashandy, jugj-odoo, Abderraouf Ghrissi (abgh), Tanguy Quéguineur, Louis (wil), Mathieu Coutant, ahta, pajo, Einar Andersen (eian), lebm-odoo, karygauss03, Lucas ESTEBAN (lues)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - digest
    - mail
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
    - barcodes
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Convert employee's extra hours to leave allocations.
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
hr_attendance_holidays_hr_leave_allocation_view_form_inherit hr.leave.allocation xpath Inherits hr_holidays.hr_leave_allocation_view_form
hr_employee_view_form_inherit hr.holidays.attendance.employee.view.form.inherit hr.employee xpath Inherits hr.view_employee_form
hr_leave_accrual_level_view_form hr.leave.accrual.level.form hr.leave.accrual.level div Inherits hr_holidays.hr_accrual_level_view_form
hr_leave_allocation_overtime_manager_view_form hr.leave.allocation xpath Inherits hr_leave_allocation_overtime_view_form
hr_leave_allocation_overtime_view_form hr.leave.allocation xpath Inherits hr_attendance_holidays_hr_leave_allocation_view_form_inherit
hr_leave_type_view_form hr.leave.type.view.form.inherit hr.leave.type xpath Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form hr.leave field Inherits hr_holidays.hr_leave_view_form_manager
res_users_view_form res.users xpath Inherits hr.res_users_view_form_profile
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • employee_overtime Float
    groups='base.group_user' related='employee_id.total_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (6)
  • action_approve(self, check_state=True)
  • action_refuse(self)
  • action_reset_confirm(self)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (1)
  • frequency_hourly_source Selection
    compute='_compute_frequency_hourly_source' default='calendar' help='If the source is set to "Calendar", the amount of worked hours will be computed based on the Employee\'s working schedule. Otherwise, the amount of worked hours will be based on Attendance records.' readonly=False selection=[('calendar', 'Calendar'), ('attendance', 'Attendances')] store=True
Public methods (0)

No public methods.

New fields (3)
  • employee_overtime Float
    groups='base.group_user' related='employee_id.total_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    groups='hr_holidays.group_hr_holidays_user' string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (5)
  • action_refuse(self)
  • action_set_to_confirm(self)
  • create(self, vals_list)
    @api.model_create_multi
  • default_get(self, fields)
  • write(self, vals)

New fields (1)
  • overtime_deductible Boolean
    default=False help='Once a time off of this type is approved, extra hours in attendances will be deducted.' args: 'Deduct Extra Hours'
Public methods (1)
  • get_allocation_data(self, employees, date=None)

New fields (1)
  • request_overtime Boolean
    compute='_compute_request_overtime'
Public methods (1)
  • SELF_READABLE_FIELDS(self)
    @property
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Yannick Tivisse, Odoo Online, Samuel Degueldre, std-odoo, Tiffany Chang (tic), Rémy Voet (ryv), Gorash, Kevin Baptiste, Philippe Wauthy, Ahmad Khanalizadeh, Florian Damhaut, Dossogne Bertrand, Thomas Lefebvre (thle), Gaetan Vanden Bergh (gavb), Dylan Kiss (dyki), Simon Goffaux (sigo), Dawn Hwang, kdeb@odoo.com, jugj-odoo, Abderraouf Ghrissi (abgh), Louis (wil), Mathieu Coutant, Rob Coekaerts, ahta, Duy (Đỗ Anh), pajo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - phone_validation
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
    - hr_holidays
    - calendar
    - onboarding
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Convert employee's extra hours to leave allocations.
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
hr_attendance_holidays_hr_leave_allocation_view_form_inherit hr.leave.allocation xpath Inherits hr_holidays.hr_leave_allocation_view_form
hr_employee_view_form_inherit hr.holidays.attendance.employee.view.form.inherit hr.employee xpath Inherits hr.view_employee_form
hr_leave_accrual_level_view_form hr.leave.accrual.level.form hr.leave.accrual.level div Inherits hr_holidays.hr_accrual_level_view_form
hr_leave_allocation_overtime_manager_view_form hr.leave.allocation xpath Inherits hr_leave_allocation_overtime_view_form
hr_leave_allocation_overtime_view_form hr.leave.allocation xpath Inherits hr_attendance_holidays_hr_leave_allocation_view_form_inherit
hr_leave_type_view_form hr.leave.type.view.form.inherit hr.leave.type xpath Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form hr.leave xpath Inherits hr_holidays.hr_leave_view_form_manager
res_users_view_form res.users xpath Inherits hr.res_users_view_form_profile
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • employee_overtime Float
    related='employee_id.total_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (6)
  • action_confirm(self)
  • action_draft(self)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (1)
  • frequency_hourly_source Selection
    compute='_compute_frequency_hourly_source' default='calendar' help='If the source is set to Calendar, the amount of worked hours will be computed from employee calendar and time off (if the plan is based on worked time). Otherwise, the amount of worked hours will be based on Attendance records.' readonly=False selection=[('calendar', 'Calendar'), ('attendance', 'Attendances')] store=True
Public methods (0)

No public methods.

New fields (4)
  • employee_overtime Float
    related='employee_id.total_overtime'
  • hr_attendance_overtime Boolean
    related='employee_company_id.hr_attendance_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    groups='hr_holidays.group_hr_holidays_user' string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (4)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • default_get(self, fields)
  • write(self, vals)

New fields (2)
  • hr_attendance_overtime Boolean
    compute='_compute_hr_attendance_overtime'
  • overtime_deductible Boolean
    default=False help='Once a time off of this type is approved, extra hours in attendances will be deducted.' args: 'Deduct Extra Hours'
Public methods (1)
  • get_allocation_data(self, employees, date=None)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (1)
  • request_overtime Boolean
    compute='_compute_request_overtime'
Public methods (1)
  • SELF_READABLE_FIELDS(self)
    @property
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Wolfgang Taferner, Yannick Tivisse, alt-odoo, Gorash, William Braeckman, Kevin Baptiste, Philippe Wauthy, Ahmad Khanalizadeh, Florian Damhaut, Dossogne Bertrand, Thomas Lefebvre (thle), Gaetan Vanden Bergh (gavb), Dawn Hwang, Abderraouf Ghrissi (abgh), Martin Trigaux (mat), Ahmad (khah), Rob Coekaerts, ahta
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Convert employee's extra hours to leave allocations.
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
hr_attendance_holidays_hr_leave_allocation_view_form_inherit hr.leave.allocation xpath Inherits hr_holidays.hr_leave_allocation_view_form
hr_employee_view_form hr.employee.holidays.attendance.inherit hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
hr_employee_view_form_inherit hr.holidays.attendance.employee.view.form.inherit hr.employee xpath Inherits hr.view_employee_form
hr_leave_allocation_overtime_manager_view_form hr.leave.allocation xpath Inherits hr_leave_allocation_overtime_view_form
hr_leave_allocation_overtime_view_form hr.leave.allocation xpath Inherits hr_attendance_holidays_hr_leave_allocation_view_form_inherit
hr_leave_type_view_form hr.leave.type.view.form.inherit hr.leave.type xpath Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form hr.leave xpath Inherits hr_holidays.hr_leave_view_form_manager
res_users_view_form res.users xpath Inherits hr.res_users_view_form_profile
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • employee_overtime Float
    related='employee_id.total_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    groups='hr_holidays.group_hr_holidays_user' string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (6)
  • action_confirm(self)
  • action_draft(self)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (4)
  • employee_overtime Float
    related='employee_id.total_overtime'
  • hr_attendance_overtime Boolean
    related='employee_company_id.hr_attendance_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    groups='hr_holidays.group_hr_holidays_user' string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (5)
  • action_draft(self)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • default_get(self, fields)
  • write(self, vals)

New fields (2)
  • hr_attendance_overtime Boolean
    compute='_compute_hr_attendance_overtime'
  • overtime_deductible Boolean
    default=False help='Once a time off of this type is approved, extra hours in attendances will be deducted.' args: 'Deduct Extra Hours'
Public methods (2)
  • get_employees_days(self, employee_ids, date=None)
  • name_get(self)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (1)
  • request_overtime Boolean
    compute='_compute_request_overtime'
Public methods (1)
  • SELF_READABLE_FIELDS(self)
    @property
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Wolfgang Taferner, Xavier-Do, alt-odoo, Tiffany Chang (tic), William Braeckman, Kevin Baptiste, Philippe Wauthy, Yolann Sabaux, Thomas Lefebvre (thle), Dawn Hwang
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Convert employee's extra hours to leave allocations.
    

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
hr_attendance_holidays_hr_leave_allocation_view_form_inherit hr.leave.allocation xpath Inherits hr_holidays.hr_leave_allocation_view_form
hr_employee_view_form hr.employee.holidays.attendance.inherit hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
hr_employee_view_form_inherit hr.holidays.attendance.employee.view.form.inherit hr.employee xpath Inherits hr.view_employee_form
hr_leave_allocation_overtime_manager_view_form hr.leave.allocation xpath Inherits hr_leave_allocation_overtime_view_form
hr_leave_allocation_overtime_view_form hr.leave.allocation xpath Inherits hr_attendance_holidays_hr_leave_allocation_view_form_inherit
hr_leave_type_view_form hr.leave.type.view.form.inherit hr.leave.type xpath Inherits hr_holidays.edit_holiday_status_form
hr_leave_view_form hr.leave xpath Inherits hr_holidays.hr_leave_view_form
hr_user_view_form hr.user.preferences.view.form.attendance.inherit res.users xpath Inherits hr_attendance.hr_user_view_form
res_users_view_form res.users xpath Inherits hr.res_users_view_form_profile
Models touched (6)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • employee_overtime Float
    related='employee_id.total_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    groups='hr_holidays.group_hr_holidays_user' string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (5)
  • action_draft(self)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • unlink(self)
  • write(self, vals)

New fields (4)
  • employee_overtime Float
    related='employee_id.total_overtime'
  • hr_attendance_overtime Boolean
    related='employee_company_id.hr_attendance_overtime'
  • overtime_deductible Boolean
    compute='_compute_overtime_deductible'
  • overtime_id Many2one → hr.attendance.overtime
    groups='hr_holidays.group_hr_holidays_user' string='Extra Hours' args: 'hr.attendance.overtime'
Public methods (5)
  • action_draft(self)
  • action_refuse(self)
  • create(self, vals_list)
    @api.model_create_multi
  • default_get(self, fields)
  • write(self, vals)

New fields (2)
  • hr_attendance_overtime Boolean
    compute='_compute_hr_attendance_overtime'
  • overtime_deductible Boolean
    default=False help='Once a time off of this type is approved, extra hours in attendances will be deducted.' args: 'Deduct Extra Hours'
Public methods (1)
  • get_employees_days(self, employee_ids, date=None)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (1)
  • request_overtime Boolean
    compute='_compute_request_overtime'
Public methods (1)
  • SELF_READABLE_FIELDS(self)
    @property
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSChristophe Simonis, Xavier-Do
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Hides the attendance presence button when an employee is on leave.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_view_form hr.employee.holidays.attendance.inherit hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
hr_user_view_form hr.user.preferences.view.form.attendance.inherit res.users xpath Inherits hr_attendance.hr_user_view_form
Models touched (0)

No models found for this module.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/13.0/hr_holidays_attendance
VERSION
VERSION 1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSMartin Trigaux, Damien Bouvy, Yannick Tivisse, Xavier-Do
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:06:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - mail_bot
    - barcodes
    - hr_holidays
    - calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Hides the attendance presence button when an employee is on leave.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
hr_employee_view_form hr.employee.holidays.attendance.inherit hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
hr_user_view_form hr.user.preferences.view.form.attendance.inherit res.users xpath Inherits hr_attendance.hr_user_view_form
Models touched (0)

No models found for this module.