Human Resources Policy Groups
hr_policy_group · OCA/hr
Health
70/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 93 months ago
-
Required by20/254 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
4
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.01 MB
Module directory on disk
Code analysis
4 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
policy_group_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcepolicy_groups— Class 'policy_groups' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (3 occurrences in this file) migration-old-api-base · sourcepolicy_groups— Class 'policy_groups' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
HR Policy Groups
Define a collection of policies, such as Overtime, that apply to a contract.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- hr_policy_absence, hr_policy_accrual, hr_policy_ot, hr_policy_presence
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_contract_view_form |
hr.contract.form.inherit | hr.contract | form | Inherits hr_contract.hr_contract_view_form |
policy_group_view_form |
hr.policy.group.form | hr.policy.group | form | New |
policy_group_view_tree |
hr.policy.group.tree | hr.policy.group | tree | New |
view_contract_init_form |
hr.contract.init.form.policy_group | hr.contract.init | form | Inherits hr_contract_init.view_contract_init_form |
view_contract_init_tree |
hr.contract.init.tree.policy_group | hr.contract.init | tree | Inherits hr_contract_init.view_contract_init_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
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 (0)No public methods.
Loading…
Loading…
Loading…