Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License: AGPL-3

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

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Metadata

Release files for odoo8-addon-hr-employee-benefit 8.0.1.0.0.99.dev44

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo8-addon-hr-employee-benefit 8.0.1.0.0.99.dev44
File Interpreter ABI Platform Actions
odoo8_addon_hr_employee_benefit-8.0.1.0.0.99.dev44-py2-none-any.whl Python 2 none any Details for odoo8_addon_hr_employee_benefit-8.0.1.0.0.99.dev44-py2-none-any.whl

Release files / odoo8_addon_hr_employee_benefit-8.0.1.0.0.99.dev44-py2-none-any.whl

Download URL odoo8_addon_hr_employee_benefit-8.0.1.0.0.99.dev44-py2-none-any.whl
Size 179.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a608e05f445e82bc532c5e53645c7b17f7fe26c32dfa1e365de3f09383d84a40
BLAKE2b-256 checksum
How to use checksums
7fc88a589cb7909edbfed96afe3f83faf1f721a13635bf3f8bac946431526042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Security for odoo8-addon-hr-employee-benefit 8.0.1.0.0.99.dev44

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page