Hibou Odoo Suite: Payroll Modules: Timesheets on Payslips
Purpose
This documentation outlines the processes associated with Hibou's Timesheets on Payslips module for Odoo 12, 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 INSTALL.
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.
Process
Configuring an Employee Contract
To get started, navigate to the Employees application.
Once there, click Contracts.
This will bring you to a kanban view of all employee contracts. Select the employee contract you wish to modify, then click Edit.
Under the Salary Information tab:
Paid Hourly Timesheet: Enable this setting.
Wage: Once the Paid Hourly Timesheet option is enabled, enter the hourly rate into this field.
When finished, click SAVE.
Important!
Check the Wage Field
The the employee is moving from a salaried worker to an hourly worker, be sure the Wage field is correct. Enabling "Paid Hourly Timesheet" does not do the annual-to-hourly conversion for you. It only changes the field label and usage.
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 create. This 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.
Time Spent: Enter the time spent on the task in hours and minutes.
Click Save after each entry and repeat the process to enter all timesheets you'd like to have displayed on this employee's timeslip.
Payroll + Timesheets
Next, we'll generate a payslip for this hourly employee. Navigate to the Payroll application.
Once there, click Create. 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.
Workers' Comp Code: If the Workers Compensation Class module is installed, this field will display.
Structure: This field will populate with the selected employee's structure, based on their contract.
Credit Note: This checkbox indicates the payslip is a refund of another payslip.
Contract: This field will populate with the selected employee's contract.
Reference: Odoo will generate a reference when the record is saved, but you can create your own here.
Payslip Name: Odoo will generate a Payslip Name when an employee is selected.
Once this information has been entered, click Save 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 employee's hourly rate.