Skip to Content
Odoo model · Enterprise

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.

  1. Odoo 16 not covered
  2. Odoo 17 not covered
  3. Odoo 18 hr_payroll
  4. Odoo 19 hr_payroll
  5. 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.

Odoo 17 to 18

Community only All changes in this step

Not covered: this step compares Community modules only and this model belongs to an Enterprise module.

Odoo 18 to 19

Community + Enterprise All changes in this step

Fields removed (1)

FieldTypeModuleNotes
contract_idmany2onehr_payroll

Fields added (1)

FieldTypeModule
version_idmany2onehr_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

Odoo 19 to 20

Community + Enterprise All changes in this step

Fields removed (1)

FieldTypeModuleNotes
category_idmany2onehr_payroll

Fields added (17)

Show all 17
FieldTypeModule
category_idsmany2manyhr_payroll
custom_namecharhr_payroll
department_idmany2onehr_payroll
display_in_pdf_extra_infobooleanhr_payroll
employee_type_idmany2onehr_payroll
employer_costmonetaryhr_payroll
explanationtexthr_payroll
hide_amountbooleanhr_payroll
job_idmany2onehr_payroll
l10n_be_follow_pay_periodbooleanl10n_be_hr_payroll
manually_modifiedbooleanhr_payroll
payslip_run_idmany2onehr_payroll
resource_calendar_idmany2onehr_payroll
salary_rule_account_creditmany2onehr_payroll_account
salary_rule_account_debitmany2onehr_payroll_account
sexselectionhr_payroll
struct_idmany2onehr_payroll

Type changed (1)

FieldOdoo 19Odoo 20
appears_on_payslip booleanselection
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
FieldTypeLabelModule1617181920
amountmonetaryBasehr_payrollE
amount_fixfloathr_payrollE
amount_percentagefloathr_payrollE
amount_selectselectionhr_payrollE
appears_on_payslipselectionhr_payrollE
category_idmany2onehr_payrollE
category_idsmany2manyhr_payrollE
codecharhr_payrollE
company_idmany2onehr_payrollE
contract_idmany2one hr.contractContracthr_payrollE
credit_tag_idsmany2many account.account.tagCredit Tax Gridshr_payroll_accountE
currency_idmany2one res.currencyhr_payrollE
custom_namecharhr_payrollE
date_fromdateFromhr_payrollE
date_todateTohr_payrollE
debit_tag_idsmany2many account.account.tagDebit Tax Gridshr_payroll_accountE
department_idmany2onehr_payrollE
display_in_pdf_extra_infobooleanhr_payrollE
employee_idmany2one hr.employeeEmployeehr_payrollE
employee_type_idmany2onehr_payrollE
employer_costmonetaryEmployer Costhr_payrollE
explanationtextCalculation Explanationhr_payrollE
hide_amountbooleanHide Amounthr_payrollE
job_idmany2onehr_payrollE
l10n_be_follow_pay_periodbooleanFollow Pay Periodl10n_be_hr_payrollE
manually_modifiedbooleanManually Modifiedhr_payrollE
namecharhr_payrollE
partner_idmany2onehr_payrollE
payslip_run_idmany2onehr_payrollE
quantityfloathr_payrollE
ratefloatRate (%)hr_payrollE
resource_calendar_idmany2oneWorking Hourshr_payrollE
salary_rule_account_creditmany2one account.accountCredit Accounthr_payroll_accountE
salary_rule_account_debitmany2one account.accountDebit Accounthr_payroll_accountE
salary_rule_idmany2one hr.salary.ruleRulehr_payrollE
sequenceintegerhr_payrollE
sexselectionSexhr_payrollE
slip_idmany2one hr.payslipPay Sliphr_payrollE
struct_idmany2oneStructurehr_payrollE
totalmonetaryTotalhr_payrollE
version_idmany2one hr.versionContracthr_payrollE
ytdmonetaryYTDhr_payrollE
Coverage. Odoo 16 to 17 and 17 to 18 compare Community modules only (the Enterprise 16 and 17 sources are not available to us). Odoo 18 to 19 and 19 to 20 include Community and Enterprise modules. Everything here comes from a static read of the Odoo source code: a field counts as removed only when no parent model, mixin or delegated model still provides it. Fields created dynamically at run time can be missed, and entries we could not confirm are marked as low confidence.