How to Configure Salary Structure & Salary Rules in Odoo 18: Complete Guide
By Braincuber Team
Published on March 14, 2026
Configuring salary structures and salary rules in Odoo 18 is essential for accurate payroll management. A well-defined salary structure ensures consistency and transparency in employee compensation while enabling automated payroll calculations. This comprehensive guide will walk you through the entire configuration process.
What You'll Learn:
- Understanding Odoo 18 Payroll module fundamentals
- Creating and configuring salary structure types
- Setting up salary structures with proper parameters
- Defining salary rules and conditions
- Configuring salary rule parameters
- Managing other input types for payslips
- Best practices for payroll automation
Understanding Odoo 18 Payroll Module
A company's ability to accurately calculate each employee's pay based on their job position depends heavily on its management of salary packages. Odoo 18 offers a comprehensive Payroll Management module that handles all payroll operations within an organization.
Employee Management
Manage employee data, contracts, attendance, timesheets, time off, and payroll all in one integrated system.
Payroll Automation
Automated payroll calculations based on work hours, basic pay, overtime, and additional benefits with configurable rules.
Contract Integration
Seamless integration with employee contracts to automatically apply appropriate salary structures and rules.
Prerequisites
Ensure the Odoo Payroll module is installed from the Apps module before proceeding with salary structure configuration.
Configuring Salary Structure Type
Salary Structure Type allows you to establish different categories of compensation structures. This is crucial when drafting new contracts with employees, as it defines the payment methodology and schedule.
Navigate to Payroll Configuration
Go to the Payroll module and access the Configuration menu. Select "Salary Structure Type" from the available options.
Create New Structure Type
Click the "New" button to create a new salary structure type. You'll see existing types like Regular Pay Structure, Wage Type, Default Scheduled Pay, and Default Working Hours.
Configure Structure Type Details
Enter the Structure Type and Country. Choose between hourly wage or monthly fixed wage under Wage Type. Set payment schedule (monthly, quarterly, annual, weekly, bi-weekly, or bi-monthly).
Set Work Entry Details
Specify Work Entry Type, Pay Structure, and Working Hours in the designated fields. Save the new compensation structure type for use in employee contracts.
Required Fields:
• Structure Type: Name of the structure type
• Country: Geographic location for compliance
• Wage Type: Hourly or Monthly fixed wage
• Scheduled Pay: Payment frequency schedule
Optional Fields:
• Work Entry Type: Define work entry classification
• Pay Structure: Associated pay structure
• Working Hours: Standard working hours
Examples:
• Regular Pay Structure (Monthly, Fixed Wage)
• Hourly Workers (Hourly, Weekly Pay)
• Contract Staff (Monthly, Fixed Wage)
Setting Up Salary Structure
Salary Structure is crucial for creating payslips and determining each employee's pay based on their job position. This is where you define the complete compensation framework for different employee categories.
Access Salary Structure Configuration
Navigate to Payroll Configuration and select "Structure" from the menu options. You'll see a list of all existing salary structures in your Odoo system.
Create New Salary Structure
Click the "New" button to create a new pay structure. This will open the configuration form where you'll define the complete salary framework.
Configure Basic Information
Enter the name of the pay structure and select the type from the provided list. Include Scheduled Pay, Report Method, Country Name, and Salary Journal details.
Add Salary Rules
Create salary rules using the Configuration menu and add them under the Salary Rules section. Connect Unpaid Work Entry Type details to complete the structure.
Creating Salary Rules
Establishing conditions in the form of compensation guidelines is crucial for determining an employee's pay. The particular set of rules will determine how the net amount changes during payroll calculations.
General Configuration
Name the payment rule, select pay category (basic, bonus, allowance, code, sequence), and provide broad details about the salary rule.
Conditions & Computation
Set conditions using Range, Always True, or Python Expression. Enter fixed amount, amount type, and quantity for payroll calculations.
General Tab:
• Rule Name: Descriptive name for the rule
• Category: Basic, Bonus, Allowance, Code, etc.
• Sequence: Order of calculation
• Structure: Associated salary structure
Conditions Tab:
• Condition Type: Range, Always True, Python Expression
• Condition Range: Minimum/Maximum values
• Python Code: Custom logic conditions
Computation Tab:
• Amount Type: Fixed or Percentage
• Quantity: Multiplier for calculation
• Fixed Amount: Base amount for computation
Accounting Tab:
• Debit Account: Expense account
• Credit Account: Liability account
• Analytic Account: Cost center allocation
Configuring Salary Rule Parameters
Salary Rule Parameters serve as the foundation for defining salary rules. These parameters allow you to create reusable variables and conditions that can be referenced across multiple salary rules.
Access Rule Parameters
Navigate to Payroll Configuration and select "Salary Rule Parameters" from the menu options to access existing parameters.
Create New Parameter
Click the "New" option to add additional parameters. These will serve as variables that can be used in salary rule calculations.
Configure Parameter Details
Define the parameter name, code, and default value. Specify whether it's available in structures and set the appropriate data type for calculations.
Managing Other Input Types
Other Input Types allows you to configure extra fields that will appear when generating payslips. This provides flexibility for additional compensation components that may not fit into standard salary rules.
Configuration Process
Access Other Input Types from Payroll Configuration menu. Add a special code, choose Availability in Structure, and provide description for each input type.
Use Cases
Perfect for special allowances, one-time bonuses, deductions, or other custom compensation components that need to be added during payslip generation.
Best Practices for Salary Configuration
To ensure effective payroll management, follow these best practices when configuring salary structures and rules in Odoo 18:
| Practice | Implementation | Benefit |
|---|---|---|
| Clear Naming Convention | Use descriptive names for structures and rules | Easy identification and maintenance |
| Modular Design | Create reusable salary rules and parameters | Consistent calculations across structures |
| Regular Testing | Test payslip generation with sample data | Identify calculation errors early |
| Documentation | Document rule logic and parameter usage | Easier troubleshooting and training |
Frequently Asked Questions
What's the difference between Salary Structure Type and Salary Structure?
Salary Structure Type defines the payment methodology (hourly/monthly, payment schedule), while Salary Structure contains the actual salary rules and calculations for specific employee categories.
How do Python expressions work in salary rules?
Python expressions allow you to create custom logic for salary calculations. You can reference contract data, employee information, and other parameters to create complex conditional calculations.
Can I modify salary structures after they're assigned to contracts?
Yes, you can modify salary structures, but changes will only affect new payslips. Existing contracts will continue using the structure that was active when the payslip was generated.
What are Other Input Types used for?
Other Input Types allow you to add custom fields to payslips for special allowances, one-time bonuses, deductions, or other compensation components that don't fit into standard salary rules.
Ready to Optimize Your Payroll System?
Our Odoo experts can help you design and implement the perfect salary structure configuration tailored to your organization's compensation policies and compliance requirements.
