HR Contract Rate
hr_contract_rate · OCA/hr
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 45 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 12.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.06 MB
Module directory on disk
Code analysis
2 migration notes
1 model
1 view
0 HTTP endpoints
Migration considerations
hr.contract— Since 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: wage, amount, amount_period. migration-track-visibility- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `ALTER TABLE hr_contract ADD amount numeric; COMMENT ON COLUMN hr_contract.amount IS 'Amount'; ALTER TABLE hr_contract ADD amount_period varchar; COMMENT ON COLUMN hr_contract.amount_period IS 'Period of Amount'; UPDATE hr_contract SET amount = wage, amount_period = 'month';` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
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 |
|---|---|---|---|---|
hr_contract_view_form |
hr.contract.view.form | hr.contract | form | Inherits hr_contract.hr_contract_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (8)
-
amountMonetaryhelp="Employee's contract amount per period"string='Amount'track_visibility='onchange' -
amount_periodSelectiondefault='month'help="Period of employee's contract amount"selection=[('hour', 'Hour'), ('day', 'Day'), ('week', 'Week'), ('month', 'Month'), ('quarter', 'Quarter'), ('year', 'Year')]string='Period of Amount'track_visibility='onchange' -
approximate_wageMonetarycompute='_compute_wage'help="Employee's monthly gross wage (approximate)"store=Truestring='Wage (approximate)' -
is_wage_accurateBooleancompute='_compute_wage'store=True -
wageMonetarycompute='_compute_wage'inverse='_inverse_wage'required=Falsestore=Truetrack_visibility=None -
work_days_per_monthFloatdefault=<expr>help='How many work days there is in an average month'string='Work days (per month)' -
work_hours_per_monthFloatdefault=<expr>help='How many work hours there is in an average month'string='Work hours (per month)' -
work_weeks_per_monthFloatdefault=<expr>help='How many work weeks there is in an average month'string='Work weeks (per month)'
No public methods.
Loading…
Loading…
Loading…