Absence Policy

hr_policy_absence
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/10.0/hr_policy_absence
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSPedro M. Baeza, Iryna Vushnevska
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_policy_group
    - hr_contract_init
    - hr_job_categories
    - hr_security
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
    - hr_contract
    - hr_payroll
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Absence Policies
========================
Define properties of an absence policy, such as:
    * Type (paid, unpaid)
    * Rate (multiplier of base wage)
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
absence_policy_line_form_view hr.policy.line.absence.form hr.policy.line.absence form New
absence_policy_line_tree_view hr.policy.line.absence.tree hr.policy.line.absence tree New
absence_policy_view_form hr.policy.absence.form hr.policy.absence form New
absence_policy_view_tree hr.policy.absence.tree hr.policy.absence tree New
policy_group_view_form hr.policy.group.form.absence.inherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_codes(self, cr, uid, idx, context=None)
  • paid_codes(self, cr, uid, idx, context=None)
  • unpaid_codes(self, cr, uid, idx, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_holiday(self, cr, uid, ids, holiday_status_id, context=None)
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/9.0/hr_policy_absence
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERS
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_policy_group
    - hr_contract_init
    - hr_job_categories
    - hr_security
odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - resource
    - web_tip
    - calendar
    - base_action_rule
    - web_calendar
    - report
    - hr_contract
    - hr_payroll
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Absence Policies
========================
Define properties of an absence policy, such as:
    * Type (paid, unpaid)
    * Rate (multiplier of base wage)
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
absence_policy_line_form_view hr.policy.line.absence.form hr.policy.line.absence form New
absence_policy_line_tree_view hr.policy.line.absence.tree hr.policy.line.absence tree New
absence_policy_view_form hr.policy.absence.form hr.policy.absence form New
absence_policy_view_tree hr.policy.absence.tree hr.policy.absence tree New
policy_group_view_form hr.policy.group.form.absence.inherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_codes(self, cr, uid, idx, context=None)
  • paid_codes(self, cr, uid, idx, context=None)
  • unpaid_codes(self, cr, uid, idx, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_holiday(self, cr, uid, ids, holiday_status_id, context=None)
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/8.0/hr_policy_absence
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSStéphane Bidoul, Pedro M. Baeza
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_policy_group
    - hr_contract_init
    - hr_job_categories
    - hr_security
odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - board
    - calendar
    - base_action_rule
    - web_calendar
    - hr_contract
    - hr_payroll
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Absence Policies
========================
Define properties of an absence policy, such as:
    * Type (paid, unpaid)
    * Rate (multiplier of base wage)
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
absence_policy_line_form_view hr.policy.line.absence.form hr.policy.line.absence form New
absence_policy_line_tree_view hr.policy.line.absence.tree hr.policy.line.absence tree New
absence_policy_view_form hr.policy.absence.form hr.policy.absence form New
absence_policy_view_tree hr.policy.absence.tree hr.policy.absence tree New
policy_group_view_form hr.policy.group.form.absence.inherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_codes(self, cr, uid, idx, context=None)
  • paid_codes(self, cr, uid, idx, context=None)
  • unpaid_codes(self, cr, uid, idx, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_holiday(self, cr, uid, ids, holiday_status_id, context=None)
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/7.0/hr_policy_absence
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Michael Telahun Makonnen <mmakonnen@gmail.com>
COMMITTERS
COMMITTERSLorenzo Battistini, Alexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, OCA Transbot, moylop260, dufresnedavid
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_payroll_period
    - hr_contract_init
    - hr_job_categories
    - hr_security
    - hr_simplify
    - hr_employee_state
    - hr_contract_state
    - hr_payroll_register
    - hr_payslip_amendment
    - hr_public_holidays
    - hr_schedule
    - hr_policy_group
odoo/odoo:
    - hr_holidays
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - process
    - board
    - base_calendar
    - base_status
    - base_action_rule
    - hr_contract
    - hr_payroll
    - decimal_precision
    - hr_attendance
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Absence Policies
========================
Define properties of an absence policy, such as:
    * Type (paid, unpaid)
    * Rate (multiplier of base wage)
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
absence_policy_line_form_view hr.policy.line.absence.form hr.policy.line.absence form New
absence_policy_line_tree_view hr.policy.line.absence.tree hr.policy.line.absence tree New
absence_policy_view_form hr.policy.absence.form hr.policy.absence form New
absence_policy_view_tree hr.policy.absence.tree hr.policy.absence tree New
policy_group_view_form hr.policy.group.form.absence.inherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (3)
  • get_codes(self, cr, uid, idx, context=None)
  • paid_codes(self, cr, uid, idx, context=None)
  • unpaid_codes(self, cr, uid, idx, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_holiday(self, cr, uid, ids, holiday_status_id, context=None)