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

Repository Versions:

Modules:

Author:

Hibou Corp.

License:

AGPL-3


Purpose

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

The HR Payroll Holidays module simplifies the process of adding approved Holiday Leaves to an employee Payslip.

Getting Started

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

Odoo CMS - a big picture

  Good to Know!

This module requires both the Payroll and Leave Management 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 Payroll application.

Odoo - Sample 1 for three columns


Once there, click  Create to make 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.

You should already have an employee with a running contract and an approved leave. When you select the Employee from the dropdown menu, the leave(s) will be added to the Worked Days lines with a Code that includes the Leave name.

Odoo CMS - a big picture

  Important!

Leaves must be properlyconfigured in Payroll in order to actually be paid to the Employee.

Technical

This module inherits the `hr.payslip` model and creates worked day lines with leaves. The code for the work day lines takes the name of the Leave, replaces the spaces with `_` and appends `L_` to the beginning to make them easily distinguishable.