HR Holidays Legal Leave

hr_holidays_legal_leave
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/10.0/hr_holidays_legal_leave
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), iDT LABS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), iDT LABS
COMMITTERS
COMMITTERSPedro M. Baeza, Fekete Mihai, GitHub, OCA Transbot, oca-travis
WEBSITE
WEBSITEhttp://idtlabs.sl
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - web_tour
    - resource
    - calendar
    - base_action_rule
    - web_calendar
    - product
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
edit_holiday_status_form hr.holidays.status.form hr.holidays.status xpath Inherits hr_holidays.edit_holiday_status_form
Models touched (3)

New fields (1)
  • remaining_leaves Integer
    compute='_compute_remaining_days' help='Total number of legal leaves allocated to this employee. Change this value to create allocation/leave request. Total based on all the leave types without overriding limit.' inverse='_inverse_remaining_days' args: 'Remaining Legal Leaves'
Public methods (0)

No public methods.

New fields (2)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr>
  • is_annual Boolean
    compute='_compute_is_annual' help='Use this Leave type as Legal/Annual for current company. One and only one leave type can have this checkbox. You cannot unset it directly. Set it on another Leave type instead. ' inverse='_inverse_is_annual' args: 'Legal/Annual'
Public methods (0)

No public methods.

New fields (1)
  • legal_holidays_status_id Many2one → hr.holidays.status
    args: 'hr.holidays.status', 'Legal Leave Status'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/9.0/hr_holidays_legal_leave
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), iDT LABS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), iDT LABS
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Fekete Mihai, GitHub, OCA Transbot, Denis Leemann, Damien Crier, oca-travis
WEBSITE
WEBSITEhttp://idtlabs.sl
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - resource
    - web_tip
    - calendar
    - base_action_rule
    - web_calendar
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
edit_holiday_status_form hr.holidays.status.form hr.holidays.status xpath Inherits hr_holidays.edit_holiday_status_form
Models touched (3)

New fields (1)
  • remaining_leaves Integer
    compute='_compute_remaining_days' help='Total number of legal leaves allocated to this employee. Change this value to create allocation/leave request. Total based on all the leave types without overriding limit.' inverse='_inverse_remaining_days' args: 'Remaining Legal Leaves'
Public methods (0)

No public methods.

New fields (2)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr>
  • is_annual Boolean
    compute='_compute_is_annual' help='Use this Leave type as Legal/Annual for current company. One and only one leave type can have this checkbox. You cannot unset it directly. Set it on another Leave type instead. ' inverse='_inverse_is_annual' args: 'Legal/Annual'
Public methods (0)

No public methods.

New fields (1)
  • legal_holidays_status_id Many2one → hr.holidays.status
    args: 'hr.holidays.status', 'Legal Leave Status'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/8.0/hr_holidays_legal_leave
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), iDT LABS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), iDT LABS
COMMITTERS
COMMITTERSFekete Mihai, OCA Transbot, oca-travis, Salton Massally, Salton
WEBSITE
WEBSITEhttp://idtlabs.sl
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - board
    - calendar
    - base_action_rule
    - web_calendar
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_company_form res.company.sheet res.company xpath Inherits base.view_company_form
view_hr_config_inherit hr settings for payroll hr.config.settings xpath Inherits hr.view_human_resources_configuration
Models touched (3)

New fields (1)
  • legal_holidays_status_id Many2one → hr.holidays.status
    args: 'hr.holidays.status', 'Legal Leave Status'
Public methods (2)
  • get_legal_holidays_status_id(self)
    @api.model
  • set_legal_holidays_status_id(self)
    @api.multi

New fields (1)
  • remaining_leaves Integer
    compute='_compute_remaining_days' help='Total number of legal leaves allocated to this employee. Change this value to create allocation/leave request. Total based on all the leave types without overriding limit.' inverse='_inverse_remaining_days' args: 'Remaining Legal Leaves'
Public methods (0)

No public methods.

New fields (1)
  • legal_holidays_status_id Many2one → hr.holidays.status
    args: 'hr.holidays.status', 'Legal Leave Status'
Public methods (0)

No public methods.