v 9.0 Third Party 357
Download for v 9.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Employee Directory (hr)
Leave Management (hr_holidays)
Discuss (mail)
Calendar (calendar)
Community Apps Dependencies
Technical Name payroll_employee_benefit
LicenseAGPL-3
Websitehttps://www.savoirfairelinux.com
You bought this module and need support? Click here!

Employee Benefit

This module implements employee benefits in order to produce payslips.

Employee benefits can be computed automatically at a specific point in a payroll structure. They can also be computed using the button on the payslip form, in the 'Employee Benefits' tab.

Also, they can be added manually on a payslip.

If a benefit has 2 different rates in the same payslip period, the 2 rates will be weighted by the fraction of the payslip over which they apply.

Configuration

Setting employee benefits

Go to Human Resources -> Configuration -> Payroll -> Employee Benefit Categories Create your own employee benefit. Select the salary rules over which the benefit will be summed. Add as many different rates as needed.

On the contract of an employee, add employee benefits. Select the category of benefit, the rate and dates between which the benefit will be activated.

Setting the payroll structure

In a salary rule of your payroll structure, you may call

payslip.compute_benefits()

This allows compute the employee benefits at a specific point in the payroll structure.

Whithin a salary rule, you may sum of benefits for a list of category codes:

  • Employee contribution:
    result = rule.sum_benefits(payslip, codes=['A1', 'B2'])
  • Employer contribution:
    result = rule.sum_benefits(payslip, codes=['C3'], employer=True)

The parameter codes is the list of benefit categories to include. To sum over the benefits related to the current salary rule:

  • Employee contribution:
    result = rule.sum_benefits(payslip)
  • Employer contribution:
    result = rule.sum_benefits(payslip, employer=True)

If the salary rule is related to no benefit categories, the method will sum all benefit categories.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.