Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0
Category
Generic Modules/Human Resources
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://miketelahun.wordpress.com
Last tracking update
2026-08-07 07:17:50
Authors
Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
Maintainers
Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
Committers
Pedro M. Baeza, Iryna Vushnevska
Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
None
Description
Define Time Accrual Policies
============================
Define properties of a leave accrual policy. The accrued time is calculated
based on the length of service of the employee. An additional premium may be
added on the base rate based on additional months of service.
This policy is ideal for annual leave accruals. If the type of accrual is
'Standard' time is accrued and withdrawn manually. However, if the type is
'Calendar' the time is accrued (and recorded) at a fixed frequency.
    

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
accr_policy_line_form_view hr.policy.line.accrual.form hr.policy.line.accrual form New
accr_policy_line_tree_view hr.policy.line.accrual.tree hr.policy.line.accrual tree New
accr_policy_view_form hr.policy.accrual.form hr.policy.accrual form New
accr_policy_view_tree hr.policy.accrual.tree hr.policy.accrual tree New
accrual_line_job_form_view hr.policy.line.accrual.job.form hr.policy.line.accrual.job form New
policy_group_view_form hr.policy.group.form.accrinherit hr.policy.group form Inherits hr_policy_group.policy_group_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (2)
  • holidays_refuse(self, cr, uid, ids, context=None)
  • holidays_validate(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (2)
  • get_latest_policy(self, cr, uid, policy_group, dToday, context=None)
    Return an accrual policy with an effective date before dToday but greater than all the others
  • try_calculate_accruals(self, cr, uid, context=None)

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 (0)

No public methods.

Loading…

Loading…

Loading…