Hibou Odoo Suite: Human Resources (HR) Modules: HR Payroll Attendance

Repository Versions:

Modules:

Author:

Hibou Corp.

License:

OPL-1


Purpose

The purpose of this documentation is to outline the use case and processes associated with Hibou's HR Payroll Attendance module for Odoo.

The HR Payroll Attendance module allows you to easily add attendance worked days lines onto Employee Payslips.

Getting Started

First thing's first, we want to install the module! Navigate to the Apps application and search for 'Attendance on Payslips'. When ready, click the Install button.

Odoo CMS - a big picture

  Good to Know!

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

Processes

To get started, navigate to the Employees application.

Odoo - Sample 1 for three columns


Setting up the Employee Contract

Once there, click Contracts .

This will bring you to a Kanban view of all employee contracts. Select an existing Contact or create one by clicking Create .

You will see new checkbox field for Paid Hourly Attendance. Select this checkbox.

When ready, hit Save .

Odoo CMS - a big picture

  Important!

Ensure that the status of the contract is Running. A contract that is not Running cannot be used during payroll. To change this, simply click 'Running' in the status bar on the contract. 

Getting the Attendance Line

Navigate to the Payroll application.

Odoo - Sample 1 for three columns


Click Create  to create a new payslip.

Important!

You must enter dates for the pay period, in the Period fields, before you select an employee. After selecting an employee, you will be unable to change the Period.

 Select the employee with the configured contract from the dropdown menu. When this field is selected, Attendance will automatically fill the Worked Days lines. 

When finished, hit SAVE .

Odoo CMS - a big picture

Technical

This module adds a new Paid Hourly Attendance Boolean field to Contracts. This field is then used as a flag in the `hr.payslip` model's `get_worked_day_lines` and `create_worked_day_lines` methods to create worked day lines using the selected contracts employee's attendances.