Generic Payroll system Integrated with Accounting.
This module is a backport from Odoo SA and as such, it is not included in the OCA CLA. That means we do not have a copy of the copyright on it like all other OCA modules.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Links payroll to accounting: when a payslip is confirmed, Odoo automatically creates and posts the corresponding journal entry, using the salary journal and accounts defined on contracts and salary rules.
This module connects the payroll app with accounting so that payroll results are recorded in the books without manual journal entries.
- On employee contracts you can set a Salary Journal and, if analytic accounting is enabled, an Analytic Account.
- On salary rules a new Accounting tab lets you define a Debit Account, a Credit Account, an optional Analytic Account, a Tax, and a Base salary rule for tax lines.
- On a payslip you see the Date Account, the Salary Journal (taken from the contract) and, once confirmed, the linked Accounting Entry.
- Payslip batches (payslip runs) require a Salary Journal, which is also shown in the list and search views.
When you confirm a payslip, Odoo builds a journal entry from the payslip lines: each line posts to the debit and credit accounts of its salary rule, with analytic distribution taken from the contract or the rule. If debits and credits do not balance, an adjustment line is added using the journal's default account; if that account is missing, an error is raised. The entry is posted automatically and stored on the payslip. Cancelling a payslip cancels and deletes its entry, or reverses it when the journal is protected against deletion.
Partners are set on entry lines for receivable, current liability and payable accounts, using the employee or the register partner.
Depends on
Required by other modules
Models and fields (6)
- hr.payslip · extends an existing modeldate (Date Account), move_id, journal_id
- hr.contract · extends an existing modeljournal_id, analytic_account_id
- hr.payslip.run · extends an existing modeljournal_id
- hr.salary.rule · extends an existing modeltax_base_id, tax_line_ids (Tax lines), account_debit, account_credit, account_tax_id, analytic_account_id
- hr.payslip.line · extends an existing model
- hr.payslip.employees · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/payroll.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0Go to Payroll \> Configuration \> Salary Rules # Select rule that you want in accounting # Go to Accounting Tab and select Debit, Credit Account
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.