Worked Days Hourly Rates
hr_worked_days_hourly_rate · OCA/hr
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by5/250 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
0
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.02 MB
Module directory on disk
Code analysis
4 migration notes
1 model
1 view
0 HTTP endpoints
Migration considerations
hr_payslip_worked_days— Class 'hr_payslip_worked_days' 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_payslip_worked_days— Class 'hr_payslip_worked_days' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceview_hr_payslip_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) 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
Worked Days Hourly Rate
- Adds hourly rate field on worked days
- Adds date_from and date_to fields
- Adds a rate (%) by which to multiplicate the hourly rate for overtime or other purposes.
Contributors
- David Dufresne david.dufresne@savoirfairelinux.com
- Pierre Lamarche pierre.lamarche@savoirfairelinux.com
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_hr_payslip_form |
hr.payslip.form | hr.payslip | form | Inherits hr_payroll.view_hr_payslip_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…