Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 92 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis 7 migration notes 5 models 6 views 0 HTTP endpoints

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.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…