Overtime Policy

hr_policy_ot
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/10.0/hr_policy_ot
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_contract
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - hr
    - hr_payroll
    - hr_holidays
    - calendar
    - web_calendar
    - product
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Overtime Policies
========================
Define properties of an overtime policy, such as:
    * Type (daily, weekly, or holiday)
    * Rate (multiplier of base wage)
    * Active Hours
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
ot_policy_line_form_view hr.policy.line.ot.form hr.policy.line.ot form New
ot_policy_line_tree_view hr.policy.line.ot.tree hr.policy.line.ot tree New
ot_policy_view_form hr.policy.ot.form hr.policy.ot form New
ot_policy_view_tree hr.policy.ot.tree hr.policy.ot tree New
policy_group_view_form hr.policy.group.form.otinherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • daily_codes(self, cr, uid, idx, context=None)
  • get_codes(self, cr, uid, idx, context=None)
  • holiday_codes(self, cr, uid, idx, context=None)
  • restday2_codes(self, cr, uid, idx, context=None)
  • restday_codes(self, cr, uid, idx, context=None)
  • weekly_codes(self, cr, uid, idx, 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_ot
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_contract
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - hr
    - web_tip
    - hr_payroll
    - hr_holidays
    - calendar
    - web_calendar
    - report
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Overtime Policies
========================
Define properties of an overtime policy, such as:
    * Type (daily, weekly, or holiday)
    * Rate (multiplier of base wage)
    * Active Hours
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
ot_policy_line_form_view hr.policy.line.ot.form hr.policy.line.ot form New
ot_policy_line_tree_view hr.policy.line.ot.tree hr.policy.line.ot tree New
ot_policy_view_form hr.policy.ot.form hr.policy.ot form New
ot_policy_view_tree hr.policy.ot.tree hr.policy.ot tree New
policy_group_view_form hr.policy.group.form.otinherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • daily_codes(self, cr, uid, idx, context=None)
  • get_codes(self, cr, uid, idx, context=None)
  • holiday_codes(self, cr, uid, idx, context=None)
  • restday2_codes(self, cr, uid, idx, context=None)
  • restday_codes(self, cr, uid, idx, context=None)
  • weekly_codes(self, cr, uid, idx, 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_ot
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_contract
    - base_action_rule
    - base
    - resource
    - mail
    - base_setup
    - web_kanban
    - web
    - hr
    - board
    - hr_payroll
    - hr_holidays
    - calendar
    - web_calendar
    - decimal_precision
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Overtime Policies
========================
Define properties of an overtime policy, such as:
    * Type (daily, weekly, or holiday)
    * Rate (multiplier of base wage)
    * Active Hours
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
ot_policy_line_form_view hr.policy.line.ot.form hr.policy.line.ot form New
ot_policy_line_tree_view hr.policy.line.ot.tree hr.policy.line.ot tree New
ot_policy_view_form hr.policy.ot.form hr.policy.ot form New
ot_policy_view_tree hr.policy.ot.tree hr.policy.ot tree New
policy_group_view_form hr.policy.group.form.otinherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • daily_codes(self, cr, uid, idx, context=None)
  • get_codes(self, cr, uid, idx, context=None)
  • holiday_codes(self, cr, uid, idx, context=None)
  • restday2_codes(self, cr, uid, idx, context=None)
  • restday_codes(self, cr, uid, idx, context=None)
  • weekly_codes(self, cr, uid, idx, 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_ot
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, dufresnedavid
WEBSITE
WEBSITEhttp://miketelahun.wordpress.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_policy_group
    - hr_contract_init
    - hr_job_categories
    - hr_security
    - hr_simplify
odoo/odoo:
    - hr_contract
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - process
    - board
    - hr_payroll
    - hr_holidays
    - base_calendar
    - base_status
    - base_action_rule
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Define Overtime Policies
========================
Define properties of an overtime policy, such as:
    * Type (daily, weekly, or holiday)
    * Rate (multiplier of base wage)
    * Active Hours
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
ot_policy_line_form_view hr.policy.line.ot.form hr.policy.line.ot form New
ot_policy_line_tree_view hr.policy.line.ot.tree hr.policy.line.ot tree New
ot_policy_view_form hr.policy.ot.form hr.policy.ot form New
ot_policy_view_tree hr.policy.ot.tree hr.policy.ot tree New
policy_group_view_form hr.policy.group.form.otinherit hr.policy.group xpath Inherits hr_policy_group.policy_group_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (6)
  • daily_codes(self, cr, uid, idx, context=None)
  • get_codes(self, cr, uid, idx, context=None)
  • holiday_codes(self, cr, uid, idx, context=None)
  • restday2_codes(self, cr, uid, idx, context=None)
  • restday_codes(self, cr, uid, idx, context=None)
  • weekly_codes(self, cr, uid, idx, context=None)