| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/hr |
| GIT | |
| GIT | https://github.com/OCA/hr.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/hr/tree/17.0/hr_contract_bonus |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | HR |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), APSL-Nagarro |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), APSL-Nagarro |
| COMMITTERS | |
| COMMITTERS | Weblate, oca-ci, Antoni Marroig Campomar |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/hr |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:01 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - hr_contract - hr - base_setup - base - web - phone_validation - bus - web_tour - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Adds support for managing bonuses in employee contracts. Allows setting fixed or variable bonuses. |
| 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 | xpath | Inherits hr_contract.hr_contract_view_form |
bonus_ids
Many2many → hr.contract.bonus
comodel_name='hr.contract.bonus'
help="List of bonuses that can be applied to the employee's contract."
string='Bonuses'
total_annual_wage_with_bonus
Float
compute='_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_bonus
Float
compute='_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.
amount
Float
help="The amount of the bonus to be applied to the employee's contract."
required=True
string='Bonus Amount'
frequency
Selection
default='monthly'
help="Frequency at which the bonus is applied to the employee's contract."
required=True
selection=[('monthly', 'Monthly'), ('yearly', 'Yearly')]
string='Bonus Frequency'
name
Char
help="Name of the bonus to be applied to the employee's contract."
required=True
type
Selection
default='fixed'
help='Type of bonus to be applied. Fixed amount or percentage of the salary.'
required=True
selection=[('fixed', 'Fixed Amount'), ('percentage', 'Percentage of Salary')]
string='Bonus Type'
No public methods.