TIP: You can type at any time to perform a new search.
HR Contract Rate
hr_contract_rate · OCA/hr
Security findings
Migration considerations
hr.contract.amount— Field 'amount' on 'hr.contract' uses the deprecated `track_visibility` kwarg: renamed to `tracking` in Odoo 13.0. migration-track-visibilityhr.contract.amount_period— Field 'amount_period' on 'hr.contract' uses the deprecated `track_visibility` kwarg: renamed to `tracking` in Odoo 13.0. migration-track-visibilityhr.contract.wage— Field 'wage' on 'hr.contract' uses the deprecated `track_visibility` kwarg: renamed to `tracking` in Odoo 13.0. 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. 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.0
- Category
- Human Resources
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/hr
- Last tracking update
- 2026-08-07 07:47:44
- Authors
- Odoo Community Association (OCA), CorporateHub
- Maintainers
- Odoo Community Association (OCA), CorporateHub
- Committers
- Weblate, OCA-git-bot, oca-ci, nicolasrsande
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
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…