Payroll Contract Advantages
payroll_contract_advantages · OCA/payroll
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 14.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
LGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
0 migration notes
4 models
3 views
0 HTTP endpoints
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.
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 |
|---|---|---|---|---|
advantages_hr_contract_view_form |
hr.contract.view.form.inherit.advantages | hr.contract | form | 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 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
advantages_idsOne2many → hr.contract.advantagestring='Contract Advantages' args: 'hr.contract.advantage', 'contract_id'
No public methods.
New fields (6)
-
advantage_lower_boundFloatreadonly=Truerelated='advantage_template_id.lower_bound'string='Lower Bound' -
advantage_template_codeCharreadonly=Truerelated='advantage_template_id.code'string='Code' -
advantage_template_idMany2one → hr.contract.advantage.templatestring='Advantage Template' args: 'hr.contract.advantage.template' -
advantage_upper_boundFloatreadonly=Truerelated='advantage_template_id.upper_bound'string='Upper Bound' -
amountFloat -
contract_idMany2one → hr.contractargs: 'hr.contract'
No public methods.
New fields (5)
-
codeCharrequired=True -
default_valueFloat -
lower_boundFloathelp='Lower bound authorized by the employer for this advantage' -
nameCharrequired=True -
upper_boundFloathelp='Upper bound authorized by the employer for this advantage'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
get_current_contract_dict(self, contract, contracts)
Loading…
Loading…
Loading…
Loading…