Hibou Odoo Suite: Payroll Modules: Timesheets on Payslips

Purpose

This documentation outlines the processes associated with Hibou's Timesheets on Payslips module for Odoo 16, which allows you to include Timesheet numbers on Employee Payslips.

Getting Started

The first step is installing the module. To do so, navigate to the Apps application.


Once there, remove the 'Apps' filter from the search bar and search for 'Timesheets on Payslips'. When ready, click ACTIVATE.


Good to Know!

This module requires both the Payroll application and the Timesheets application. However, if you do not already have these installed, Odoo will install them for you during this module's installation.


Configuring an Employee Contract

To get started, navigate to the Employees application.


Once there, click EmployeesALL Contracts. This will bring you to a list view of all employee contracts. Select the employee contract you wish to modify. 

Under the Salary Information tab and if the employee is set to be paid hourly:

Paid Hourly Timesheet: Enable this setting.

Hourly Wage: Once the Paid Hourly Timesheet option is enabled, enter the hourly rate into this field. 

Make sure the Contract is in the Running state before continuing!

Employee Timesheets

To show how this module works, we'll first need to record time on timesheets for this employee. Normally, the employee would do this themselves. To do this on the employee's behalf, navigate to the Timesheets app.


Go to Timesheet > All Timesheets, then click NEWThis opens a new window where you'll enter the following information:

Project: Select or create the project to record this time under.

Task: If this timesheet entry pertains to a specific task, select it here.

Employee: Select the employee whose time you're logging.

Date: Enter the date the work was performed.

Hours Spent: Enter the time spent on the task in hours and minutes.

We will enter several timesheets for a total of 3:15 for the purposes of this walkthrough. 

Payroll + Timesheets

Next, we'll generate a payslip for this hourly employee. Navigate to the Payroll application.


Once there, click Payslips > To Pay, then click  NeW. This brings up the Payslip form where you'll fill out the following details:

Important!

Enter the Pay Period First

You must enter dates in both Period fields before selecting an employee because the hours worked will be entered immediately when the employee is selected, and changing dates will not alter the hours worked after that point. 


Employee: Select the hourly employee to run a payslip for.

Period: Select the start and end date of the pay period.

Reference: Odoo will generate a reference when the record is saved, but you can create your own here.

Contract: This field will populate with the selected employee's contract.

Structure: This field will populate with the selected employee's structure, based on their contract.

Payslip Name: Odoo will generate a Payslip Name when an employee is selected.


Once this information has been entered, then click Compute Sheet.

Under the Worked Days & Inputs tab, you'll see the number of days worked, and the total number of hours worked over those days.


Under the Salary Computation tab, you can see the amount reflects ther employee's hourly rate multiplied by hours worked.