hr.payslip.line
Payslip Line. Defined in module hr_payroll; exists in Odoo 18, 19, 20. Across the upgrade steps we tracked: 18 fields added, 2 removed, 0 renamed, 1 type changes.
Represents a single computed line on a payslip (e.g., Basic Salary calculation, specific deduction). It holds the computed amount and rate for a specific salary rule.
- Odoo 16 not covered
- Odoo 17 not covered
- Odoo 18 hr_payroll
- Odoo 19 hr_payroll
- Odoo 20 hr_payroll
This is an Enterprise model: Odoo 16 and 17 Enterprise sources are not part of the data, so those versions show as not covered.
Not covered: this step compares Community modules only and this model belongs to an Enterprise module.
Fields removed (1)
| Field | Type | Module | Notes |
|---|---|---|---|
| contract_id | many2one | hr_payroll |
Fields added (1)
| Field | Type | Module |
|---|---|---|
| version_id | many2one | hr_payroll |
2 views of this model removed
- l10n_ch_hr_payroll_elm_transmission.hr_payslip_line_view_pivot
- l10n_ch_hr_payroll_elm_transmission.hr_payslip_line_view_search
1 actions on this model removed
- l10n_ch_hr_payroll_elm_transmission.action_hr_payslip_line_pivot
1 menus opening this model removed
- l10n_ch_hr_payroll_elm_transmission.menu_hr_payslip_line_pivot
Fields removed (1)
| Field | Type | Module | Notes |
|---|---|---|---|
| category_id | many2one | hr_payroll |
Fields added (17)
Show all 17
| Field | Type | Module |
|---|---|---|
| category_ids | many2many | hr_payroll |
| custom_name | char | hr_payroll |
| department_id | many2one | hr_payroll |
| display_in_pdf_extra_info | boolean | hr_payroll |
| employee_type_id | many2one | hr_payroll |
| employer_cost | monetary | hr_payroll |
| explanation | text | hr_payroll |
| hide_amount | boolean | hr_payroll |
| job_id | many2one | hr_payroll |
| l10n_be_follow_pay_period | boolean | l10n_be_hr_payroll |
| manually_modified | boolean | hr_payroll |
| payslip_run_id | many2one | hr_payroll |
| resource_calendar_id | many2one | hr_payroll |
| salary_rule_account_credit | many2one | hr_payroll_account |
| salary_rule_account_debit | many2one | hr_payroll_account |
| sex | selection | hr_payroll |
| struct_id | many2one | hr_payroll |
Type changed (1)
| Field | Odoo 19 | Odoo 20 |
|---|---|---|
| appears_on_payslip | boolean | selection |
5 views of this model removed
- hr_payroll.hr_payslip_line_view_search_register
- hr_payroll.view_hr_payslip_line_filter
- hr_payroll.view_hr_payslip_line_form
- hr_payroll.view_hr_payslip_line_tree
- hr_payroll.view_hr_payslip_line_tree_register
2 actions on this model removed
- hr_payroll.act_contribution_reg_payslip_lines
- hr_payroll.action_contribution_registers
All fields declared on hr.payslip.line (42)
Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.
present not present not covered (Enterprise, Odoo 16 and 17)
Show all 42 fields
| Field | Type | Label | Module | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|
| amount | monetary | Base | hr_payrollE | |||||
| amount_fix | float | hr_payrollE | ||||||
| amount_percentage | float | hr_payrollE | ||||||
| amount_select | selection | hr_payrollE | ||||||
| appears_on_payslip | selection | hr_payrollE | ||||||
| category_id | many2one | hr_payrollE | ||||||
| category_ids | many2many | hr_payrollE | ||||||
| code | char | hr_payrollE | ||||||
| company_id | many2one | hr_payrollE | ||||||
| contract_id | many2one hr.contract | Contract | hr_payrollE | |||||
| credit_tag_ids | many2many account.account.tag | Credit Tax Grids | hr_payroll_accountE | |||||
| currency_id | many2one res.currency | hr_payrollE | ||||||
| custom_name | char | hr_payrollE | ||||||
| date_from | date | From | hr_payrollE | |||||
| date_to | date | To | hr_payrollE | |||||
| debit_tag_ids | many2many account.account.tag | Debit Tax Grids | hr_payroll_accountE | |||||
| department_id | many2one | hr_payrollE | ||||||
| display_in_pdf_extra_info | boolean | hr_payrollE | ||||||
| employee_id | many2one hr.employee | Employee | hr_payrollE | |||||
| employee_type_id | many2one | hr_payrollE | ||||||
| employer_cost | monetary | Employer Cost | hr_payrollE | |||||
| explanation | text | Calculation Explanation | hr_payrollE | |||||
| hide_amount | boolean | Hide Amount | hr_payrollE | |||||
| job_id | many2one | hr_payrollE | ||||||
| l10n_be_follow_pay_period | boolean | Follow Pay Period | l10n_be_hr_payrollE | |||||
| manually_modified | boolean | Manually Modified | hr_payrollE | |||||
| name | char | hr_payrollE | ||||||
| partner_id | many2one | hr_payrollE | ||||||
| payslip_run_id | many2one | hr_payrollE | ||||||
| quantity | float | hr_payrollE | ||||||
| rate | float | Rate (%) | hr_payrollE | |||||
| resource_calendar_id | many2one | Working Hours | hr_payrollE | |||||
| salary_rule_account_credit | many2one account.account | Credit Account | hr_payroll_accountE | |||||
| salary_rule_account_debit | many2one account.account | Debit Account | hr_payroll_accountE | |||||
| salary_rule_id | many2one hr.salary.rule | Rule | hr_payrollE | |||||
| sequence | integer | hr_payrollE | ||||||
| sex | selection | Sex | hr_payrollE | |||||
| slip_id | many2one hr.payslip | Pay Slip | hr_payrollE | |||||
| struct_id | many2one | Structure | hr_payrollE | |||||
| total | monetary | Total | hr_payrollE | |||||
| version_id | many2one hr.version | Contract | hr_payrollE | |||||
| ytd | monetary | YTD | hr_payrollE |