Skip to content
Health
75/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
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_ids One2many → hr.contract.advantage
    string='Contract Advantages' args: 'hr.contract.advantage', 'contract_id'
Public methods (0)

No public methods.

New fields (6)
  • 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
    args: 'hr.contract'
Public methods (0)

No public methods.

New fields (5)
  • 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'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_current_contract_dict(self, contract, contracts)

Loading…

Loading…

Loading…

Loading…