| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/payroll |
| GIT | |
| GIT | https://github.com/OCA/payroll.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/payroll/tree/18.0/payroll_contract_advantages |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Payroll |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Nimarosa |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Nimarosa |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/payroll |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:16 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/payroll: - payroll odoo/odoo: - hr_contract - hr - base_setup - base - web - digest - bus - web_tour - html_editor - portal - web_editor - http_routing - auth_signup - resource - phone_validation - resource_mail - hr_holidays - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds support for advantages templates and advantages to be set in contract form. The advantages can be set in the contract form as a list of advantages templates. Then it can be used in the calculation of the salary rules. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
advantages_hr_contract_view_form |
hr.contract.view.form.inherit.advantages | hr.contract | xpath | Inherits hr_contract.hr_contract_view_form |
hr_contract_advantage_template_view_form |
hr.contract.advantage.template.form | hr.contract.advantage.template | form | New |
hr_contract_advantage_template_view_tree |
hr.contract.advantage.template.tree | hr.contract.advantage.template | list | New |
advantages_ids
One2many → hr.contract.advantage
string='Contract Advantages'
args: 'hr.contract.advantage', 'contract_id'
No public methods.
advantage_lower_bound
Float
readonly=True
related='advantage_template_id.lower_bound'
string='Lower Bound'
advantage_template_code
Char
readonly=True
related='advantage_template_id.code'
string='Code'
advantage_template_id
Many2one → hr.contract.advantage.template
string='Advantage Template'
args: 'hr.contract.advantage.template'
advantage_upper_bound
Float
readonly=True
related='advantage_template_id.upper_bound'
string='Upper Bound'
amount
Float
contract_id
Many2one → hr.contract
No public methods.
code
Char
required=True
default_value
Float
lower_bound
Float
help='Lower bound authorized by the employer for this advantage'
name
Char
required=True
upper_bound
Float
help='Upper bound authorized by the employer for this advantage'
No public methods.
No new fields.
Public methods (1)get_current_contract_dict(self, contract, contracts)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/payroll |
| GIT | |
| GIT | https://github.com/OCA/payroll.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/payroll/tree/17.0/payroll_contract_advantages |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Payroll |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Nimarosa |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Nimarosa |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/payroll |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:08 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/payroll: - payroll odoo/odoo: - hr_contract - hr - base_setup - base - web - phone_validation - bus - web_tour - resource - hr_holidays - calendar - onboarding |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds support for advantages templates and advantages to be set in contract form. The advantages can be set in the contract form as a list of advantages templates. Then it can be used in the calculation of the salary rules. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
advantages_hr_contract_view_form |
hr.contract.view.form.inherit.advantages | hr.contract | xpath | Inherits hr_contract.hr_contract_view_form |
hr_contract_advantage_template_view_form |
hr.contract.advantage.template.form | hr.contract.advantage.template | form | New |
hr_contract_advantage_template_view_tree |
hr.contract.advantage.template.tree | hr.contract.advantage.template | tree | New |
advantages_ids
One2many → hr.contract.advantage
string='Contract Advantages'
args: 'hr.contract.advantage', 'contract_id'
No public methods.
advantage_lower_bound
Float
readonly=True
related='advantage_template_id.lower_bound'
string='Lower Bound'
advantage_template_code
Char
readonly=True
related='advantage_template_id.code'
string='Code'
advantage_template_id
Many2one → hr.contract.advantage.template
string='Advantage Template'
args: 'hr.contract.advantage.template'
advantage_upper_bound
Float
readonly=True
related='advantage_template_id.upper_bound'
string='Upper Bound'
amount
Float
contract_id
Many2one → hr.contract
No public methods.
code
Char
required=True
default_value
Float
lower_bound
Float
help='Lower bound authorized by the employer for this advantage'
name
Char
required=True
upper_bound
Float
help='Upper bound authorized by the employer for this advantage'
No public methods.
No new fields.
Public methods (1)get_current_contract_dict(self, contract, contracts)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/payroll |
| GIT | |
| GIT | https://github.com/OCA/payroll.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/payroll/tree/16.0/payroll_contract_advantages |
| VERSION | |
| VERSION | 3.0.2 |
| CATEGORY | |
| CATEGORY | Payroll |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Nimarosa |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Nimarosa |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/payroll |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:53 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/payroll: - payroll odoo/odoo: - hr_contract - hr - base_setup - base - web - bus - web_tour - resource - hr_holidays - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
advantages_hr_contract_view_form |
hr.contract.view.form.inherit.advantages | hr.contract | xpath | Inherits hr_contract.hr_contract_view_form |
hr_contract_advantage_template_view_form |
hr.contract.advantage.template.form | hr.contract.advantage.template | form | New |
hr_contract_advantage_template_view_tree |
hr.contract.advantage.template.tree | hr.contract.advantage.template | tree | New |
advantages_ids
One2many → hr.contract.advantage
string='Contract Advantages'
args: 'hr.contract.advantage', 'contract_id'
No public methods.
advantage_lower_bound
Monetary
readonly=True
related='advantage_template_id.lower_bound'
string='Lower Bound'
advantage_template_code
Char
readonly=True
related='advantage_template_id.code'
string='Code'
advantage_template_id
Many2one → hr.contract.advantage.template
string='Advantage Template'
args: 'hr.contract.advantage.template'
advantage_upper_bound
Monetary
readonly=True
related='advantage_template_id.upper_bound'
string='Upper Bound'
amount
Monetary
currency_field='currency_id'
contract_id
Many2one → hr.contract
currency_id
Many2one
readonly=True
related='contract_id.currency_id'
store=True
No public methods.
active
Boolean
default=True
code
Char
required=True
currency_id
Many2one → res.currency
default=<expr>
required=True
args: 'res.currency'
default_value
Monetary
currency_field='currency_id'
lower_bound
Monetary
currency_field='currency_id'
help='Lower bound authorized by the employer for this advantage'
name
Char
required=True
upper_bound
Monetary
currency_field='currency_id'
help='Upper bound authorized by the employer for this advantage'
No public methods.
No new fields.
Public methods (1)get_current_contract_dict(self, contract, contracts)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/payroll |
| GIT | |
| GIT | https://github.com/OCA/payroll.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/payroll/tree/14.0/payroll_contract_advantages |
| VERSION | |
| VERSION | 3.0.0 |
| CATEGORY | |
| CATEGORY | Payroll |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | Yes |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Nimarosa |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Nimarosa |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, Weblate, OCA-git-bot, nicolasrsande |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/payroll |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:41:07 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/payroll: - payroll odoo/odoo: - hr_contract - hr - base_setup - base - web - bus - web_tour - resource - hr_holidays - calendar |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
advantages_hr_contract_view_form |
hr.contract.view.form.inherit.advantages | hr.contract | xpath | Inherits hr_contract.hr_contract_view_form |
hr_contract_advantage_template_view_form |
hr.contract.advantage.template.form | hr.contract.advantage.template | form | New |
hr_contract_advantage_template_view_tree |
hr.contract.advantage.template.tree | hr.contract.advantage.template | tree | New |
advantages_ids
One2many → hr.contract.advantage
string='Contract Advantages'
args: 'hr.contract.advantage', 'contract_id'
No public methods.
advantage_lower_bound
Float
readonly=True
related='advantage_template_id.lower_bound'
string='Lower Bound'
advantage_template_code
Char
readonly=True
related='advantage_template_id.code'
string='Code'
advantage_template_id
Many2one → hr.contract.advantage.template
string='Advantage Template'
args: 'hr.contract.advantage.template'
advantage_upper_bound
Float
readonly=True
related='advantage_template_id.upper_bound'
string='Upper Bound'
amount
Float
string='Amount'
contract_id
Many2one → hr.contract
No public methods.
code
Char
required=True
args: 'Code'
default_value
Float
lower_bound
Float
help='Lower bound authorized by the employer for this advantage'
args: 'Lower Bound'
name
Char
required=True
args: 'Name'
upper_bound
Float
help='Upper bound authorized by the employer for this advantage'
args: 'Upper Bound'
No public methods.
No new fields.
Public methods (1)get_current_contract_dict(self, contract, contracts)