In Odoo HR module Payroll management facilitate the management of employee's payroll and related functionalities. We can create each employee's contract details and maintain different salary structures using salary rules. But in Odoo, the whole salary computations are done based on the basic wage that we defined on the employee contract Form. But in some business models, there may be exceptions to it. Suppose someone wants to prepare the payroll based on the total hour the employee worked, such options are actually indeed for most of the firms.