Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Payroll
Entity: hr.salary.rule
Description: Salary Rule
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| active | Boolean | - | ||
| amount_fix | Fixed Amount | Float | - | |
| amount_percentage | Percentage (%) | Float | - | |
| amount_percentage_base | Percentage based on | Char | - | |
| amount_python_compute | Python Code | Text | - | |
| amount_select | Amount Type | Selection | - | |
| appears_on_payslip | Appears on Payslip | Boolean | - | |
| category_id | Category | Many-to-One | hr.salary.rule.category | |
| child_ids | Child Salary Rule | One-to-Many | hr.salary.rule | |
| code | Char | - | ||
| company_id | Company | Many-to-One | res.company | |
| condition_python | Python Condition | Text | - | |
| condition_range | Range Based on | Char | - | |
| condition_range_max | Maximum Range | Float | - | |
| condition_range_min | Minimum Range | Float | - | |
| condition_select | Condition Based on | Selection | - | |
| input_ids | Inputs | One-to-Many | hr.rule.input | |
| name | Char | - | ||
| note | Description | Text | - | |
| parent_rule_id | Parent Salary Rule | Many-to-One | hr.salary.rule | |
| quantity | Char | - | ||
| register_id | Contribution Register | Many-to-One | hr.contribution.register | |
| require_code_and_category | Require code and category | Boolean | - | _compute_require_code_and_category |
| sequence | Integer | - |
