Part of our HR & Workforce Management series
Read the complete guidePayroll processing is one of the most error-sensitive operations in any business. A single miscalculation in tax withholding or benefit deductions can result in compliance penalties, employee dissatisfaction, and hours of corrective work. The Odoo Payroll module provides a structured framework for defining salary rules, computing payslips, and integrating payroll with accounting within your ERP platform.
This guide walks through the complete setup process for Odoo Payroll, from initial configuration to processing your first payroll batch.
Prerequisites
Before configuring payroll, ensure these modules are installed and configured:
- Employees with records containing contracts, departments, and job positions
- Accounting with payroll-specific accounts (salary expense, payable, tax liability)
- Time Off (optional) for unpaid leave to automatically reduce payroll
- Attendance (optional) if calculations depend on actual hours worked
Understanding the Payroll Architecture
Odoo Payroll uses a hierarchical structure. Salary Structure Types define broad categories like Employee, Worker, or Contractor. Each type has multiple Salary Structures such as Monthly Employee or Bi-Weekly Employee. Each structure contains Salary Rules that compute individual payslip lines.
Step 1: Configure Salary Structure Types
Navigate to Payroll > Configuration > Structure Types. For most businesses you need:
| Structure Type | Use Case |
|---|---|
| Employee (Monthly) | Salaried employees paid monthly |
| Employee (Bi-Weekly) | Salaried employees paid every two weeks |
| Hourly Worker | Wage-based workers paid by the hour |
| Contractor | Independent contractors |
Configure the regular pay structure, default working hours, wage type, and schedule pay frequency for each type.
Step 2: Define Salary Structures
Navigate to Payroll > Configuration > Structures. A typical monthly structure includes:
Gross Pay Rules: Basic Salary from the contract, Housing Allowance (fixed or percentage), Transport Allowance, Overtime from attendance records, and Bonus/Commission as variable pay.
Deduction Rules: Income Tax based on brackets, Social Security employee contribution, Health Insurance employee share, Retirement/Pension contributions, and Loan Repayment for salary advances.
Employer Contributions: Employer Social Security matching, Employer Health Insurance share, and Employer Pension Match.
Net Pay equals gross pay minus all employee deductions.
Step 3: Configure Salary Rules
Each rule needs a name, category (Gross, Deduction, Net, Employer), unique code for formulas, and sequence number for processing order.
Odoo supports three computation methods:
Fixed Amount provides a static value per period. Percentage calculates from another rule. Python Code allows custom formulas with access to payslip, employee, contract, categories, rules, worked_days, and inputs variables.
Example tax bracket calculation:
gross = categories.GROSS
if gross <= 5000:
result = 0
elif gross <= 15000:
result = (gross - 5000) * 0.10
elif gross <= 30000:
result = 1000 + (gross - 15000) * 0.20
else:
result = 4000 + (gross - 30000) * 0.30
result = -result # Deductions are negative
Written by
ECOSIRE TeamTechnical Writing
The ECOSIRE technical writing team covers Odoo ERP, Shopify eCommerce, AI agents, Power BI analytics, GoHighLevel automation, and enterprise software best practices. Our guides help businesses make informed technology decisions.
ECOSIRE
Transform Your Business with Odoo ERP
Expert Odoo implementation, customization, and support to streamline your operations.
Related Articles
ADempiere vs Odoo (2026): Open-Source ERP Comparison
Honest ADempiere vs Odoo comparison: architecture, community health, real TCO, migration paths, and who should stay on ADempiere versus move to Odoo.
Axelor vs Odoo (2026): Honest Comparison of Two Open-Source ERPs
Axelor vs Odoo in 2026: how Axelor's low-code BPM-first ERP compares to Odoo's app-store ecosystem — genuine strengths, licensing, pricing models, and when each wins.
Cloud ERP Total Cost of Ownership: The Real 5-Year Numbers
A transparent 5-year TCO model for cloud ERP — subscription, implementation, customization, migration, training, hosting, upgrades and internal admin time — with a worked 25-user SMB comparison across Odoo, NetSuite-class and ERPNext.
More from HR & Workforce Management
BMF Programmablaufplan Lohnsteuer 2026: Implementing Germany's Official Wage-Tax Calculation (XML, API, Odoo)
Developer guide to the BMF Programmablaufplan Lohnsteuer 2026: what the PAP is, the XML pseudocode format, official test service, and mapping to Odoo payroll.
ERPNext HR & Payroll in 2026: Setup, Salary Structures, and Multi-Country Compliance
Step-by-step ERPNext HR and payroll setup for 2026: HRMS app install, salary structures, payroll entry runs, income tax slabs, multi-country compliance.
Odoo 19 HR: Skills Matrix, Career Plans, Performance Cycles
Odoo 19 HR upgrade: native skills matrix, career path planning, performance review cycles, 9-box grid, succession planning, HRIS integration.
Odoo ERP for Egypt: E-Invoice, VAT & Arabic Localization
Complete guide to Odoo ERP implementation in Egypt — ETA e-invoicing, 14% VAT, Egyptian payroll, Arabic interface, customs duties, and local compliance.
Odoo in Germany (2026): Is It GoBD-Compliant? DATEV Export, SKR03/04 & Payroll Answered
Is Odoo GoBD-compliant? Yes — if set up right. We answer DATEV export, SKR03/SKR04, German payroll, VAT and audit questions from real implementations.
Odoo ERP for India: GST, TDS/TCS & E-Way Bill Integration
Complete guide to Odoo ERP implementation in India — GST (CGST/SGST/IGST), e-invoicing, TDS/TCS, e-Way Bill, PF/ESI payroll, and Indian chart of accounts.