Hibou Odoo Suite: Human Resources (HR) Modules: HR Payroll Attendance
Repository Versions:
Modules:
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.
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.
Setting up the Employee Contract
Once there, click Contracts .
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.
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 .
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.