HR Contract Bonus
hr_contract_bonus · OCA/hr
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 17 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.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.09 MB
Module directory on disk
Code analysis
1 migration note
2 models
3 views
0 HTTP endpoints
Migration considerations
view_hr_contract_bonus_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
Adds support for managing bonuses in employee contracts. Allows setting fixed or variable bonuses.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_hr_contract_bonus_form |
hr.contract.bonus.form | hr.contract.bonus | form | New |
view_hr_contract_bonus_tree |
hr.contract.bonus.tree | hr.contract.bonus | tree | New |
view_hr_contract_view_form_inherit |
hr.contract.form.inherit | hr.contract | form | Inherits hr_contract.hr_contract_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
bonus_idsMany2many → hr.contract.bonuscomodel_name='hr.contract.bonus'help="List of bonuses that can be applied to the employee's contract."string='Bonuses' -
total_annual_wage_with_bonusFloatcompute='_compute_total_annual_wage_with_bonus'help="Total wage including the bonus applied to the employee's contract."string='Total annual wage with bonus' -
total_annual_wage_without_bonusFloatcompute='_compute_total_annual_wage_without_bonus'help="Total wage excluding the bonus applied to the employee's contract."string='Total annual wage without bonus'
No public methods.
New fields (4)
-
amountFloathelp="The amount of the bonus to be applied to the employee's contract."required=Truestring='Bonus Amount' -
frequencySelectiondefault='monthly'help="Frequency at which the bonus is applied to the employee's contract."required=Trueselection=[('monthly', 'Monthly'), ('yearly', 'Yearly')]string='Bonus Frequency' -
nameCharhelp="Name of the bonus to be applied to the employee's contract."required=True -
typeSelectiondefault='fixed'help='Type of bonus to be applied. Fixed amount or percentage of the salary.'required=Trueselection=[('fixed', 'Fixed Amount'), ('percentage', 'Percentage of Salary')]string='Bonus Type'
No public methods.