Last updated: November 26, 2019

Human Resource

Employee Payroll

Payroll management revolves in and around the management of employee salary in an organization. The management includes timely issuance of salary, employee benefits/ allowances, deducting employee loan amount and so on. To manage employee payroll, odoo has come up with the payroll module.

As soon as you enter the payroll module, you see the employees in the organization. One can easily filter the employees based on their company or the department. Also you can see certain indications marked in red. The red dot indicates that the employee is absent and red triangle indicates that there is something wrong with the contract. Either there is no running contract for this employee or employee’s contract is about to expire.

Therefore, the first step to initiate the payroll is creating an Employee Contract. For that go to Employees> Configuration> Contracts> Templates> Create.

Under the template one can add several information such as Salary details amounting to all monthly advantages drawn by the employee in a company, Monthly Benefit in kind, Employee costs, Yearly advantages, salary structure type, working schedule, contract type and so on.


Salary rules are every important so as to compute precisely the employee’s allowances, taxes, deductions, net, contributions etc. To configure salary rules for employees, go to Payroll> Configuration> Salary Rules> Create

Here one can define several things in the fly:

  • Name: A name for the salary rule.
  • Category: Choose the category early created.
  • Code: It is used for easily accessing while computing net salary.
  • Active: It will allow you to hide the salary rule without removing it.
  • Appear on Payslip: Used to display the salary rule on the payslip.
  • Sequence: Use to arrange calculation sequence.
  • Active: If active field is set to false, it will allow you to hide the salary rule without deleting it.

Under General Info Tab,

One can see some fields:

  • Condition-based on: Here one can set how the category wants to perform in each salary computation. There are three conditions under this field.
  • Always True: If we set this condition, the rule becomes available in every salary computation.
  • Range: In this case, we can see another some fields

Here we can see Minimum Range and Maximum Range. The rule only performs when the wage of an employee falls in between these two ranges.

Python Expression: In this case, we can see some comment lines helping to create python conditions. By default, odoo provides an equation based on the result.

We can access the values in the objects when we create a python condition.

Computation: The salary computation is common in three types.

  • Fixed amount
  • Percentage
  • Python code

Fixed amount: In this case, we can provide a fixed amount and Quantity.

Percentage: In this case, the computation is based on the fields underneath it.

Percentage based on: Specify the variable we want to get the percentage.

Percentage: Specify the percentage value.

Python Code

Here the computation is based on the Python code.


Each company follows different salary structure based on its rules and conditions. To configure new salary structure, go to Payroll> Configuration > Structures> Create.

Name: Name of the structure.

Type: Name of the structure type. One can either select the type from drop down menu or via going to Payroll> Configuration> Structure Types.

Here in the fly, one can add:

  • Structure Type name,
  • Wage Type: Hourly Wage/Monthly Fixed Wage.
  • Default Scheduled Pay: Defines the frequency of the wage payment.
  • Default Working Hours:
  • Default Work Entry Types;

Coming back to salary structure,

The other fields include:

  • Use Worked Day Lines: Work days won’t be computed/displayed in pay slips.
  • Regular Pay: Check this option if this structure is the common one.


Pay slips will be generated only for those employee who have valid contracts with the organization. If your employee is new, firstly an employee contract should be built between the employee and the organization.


Payroll> Payslips

From dashboard one can see the already created payslips. However, to create new click on the create button.

Upon clicking the CREATE button, you will be navigated to a new window like below:

Here one can select the employee, period, reference, contract, play slip name. Under work days and input tab, one can add the Worked days.

One can define here the number of days and number of works worked by the employee. Also the amount can be added.

After entering all the fields,

Click COMPUTE SHEET to see calculations as per salary rules.

You can see the computed Unpaid leaves pay as a deduction on the computer sheet. One can also cancel the pay slip via clicking the CANCEL PAYSLIP button and print it via clicking PRINT button.

In order to view all, pay slips created, go to Payroll> Pay slips> All Pay slips.



Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635



Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.



Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message