TIP: You can type at any time to perform a new search.
Accrual
hr_accrual · OCA/hr
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
hr_accrual— Class 'hr_accrual' 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. migration-old-api-base · sourcehr_accrual— Class 'hr_accrual' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_accrual_line— Class 'hr_accrual_line' 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. migration-old-api-base · sourcehr_accrual_line— Class 'hr_accrual_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_accrual_line— Class 'hr_accrual_line' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_accrual_view_tree— View 'hr_accrual_view_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/hr · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Generic Modules/Human Resources
- Folder size
- 0.11 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://miketelahun.wordpress.com
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
- Maintainers
- Michael Telahun Makonnen <mmakonnen@gmail.com>, Odoo Community Association (OCA)
- Committers
- Alexandre Fayolle, Michael Telahun Makonnen, Sandy Carter, Stéphane Bidoul (ACSONE), OCA Transbot, dufresnedavid
- Odoo dependencies
- Python dependencies
- python-dateutil
- System dependencies
- None
- Required by
- hr_policy_accrual
- Description
Accruals ======== An Accrual is any benefit (usually time) that accrues on behalf of an employee over an extended period of time. This can be vacation days, sick days, or a simple time bank. The actual policy and mechanics of accrual should be handled by other modules. This module only provides the basic framework for recording the data.
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_accrual_view_form |
hr.accrual.form | hr.accrual | form | New |
hr_accrual_view_tree |
hr.accrual.tree | hr.accrual | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (1)-
get_balance(self, cr, uid, ids, employee_id, date=None, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.