Skip to content
TAQNIX
Odoo ModulesWordPress PluginsWordPress ThemesShopify ThemesApp TemplatesScripts & UtilitiesBlogSell on TAQNIX
ModuleOdooNew

End of Service Benefits (Gratuity) for Odoo 19 Community – Configurable Calculator

Calculate end-of-service gratuity in Odoo Community with a policy you configure: tiers by years of service, a cap, the share by reason of leaving, unpaid leave, leave pay, and a printable statement.

No reviews yet0 salesby TAQNIXUpdated Oct 23, 2026

Description

The gratuity, calculated step by step

When an employee leaves, End of Service Benefits calculates the gratuity in Odoo Community with a policy you configure.

The end of service calculation, step by step

Your policy

  • Tiers: days of wage per year of service (for example 21 days for the first five years, 30 after)
  • A cap in months of wage
  • The share payable for each reason of leaving and each length of service (a resignation under two years, and so on)
  • Three examples to adapt to your labour law
A policy with its tiers, cap and shares

The settlement

  • Hire date, last day, unpaid leave days taken off the service, monthly wage, reason of leaving
  • Leave pay for the unused leave days, additions and deductions
  • A step by step breakdown: years per tier, cap, share, net to pay
The statement to sign

To sign

A PDF statement with the breakdown and the signature boxes; approve, mark as paid, and an End of service button on the employee.

Choose, calculate, pay

Please note

The example policies are examples: check the rules of your own labour law.

End of service features

Tested

36 automated tests: the tiers, the cap, the shares by reason, unpaid days, leave pay, additions and deductions, the steps, the statement and the access rights.

Documented

Illustrated guide in English and Arabic and an Arabic translation of the module.

What's included

  • taqnix_end_of_service.zip: the Odoo 19 module (with Arabic translation)
  • Illustrated documentation in English and Arabic (HTML and PDF)
  • Automated tests, licence file (OPL-1) and changelog

Requirements

Odoo 19.0 Community with Employees.

What's in the download

The files in the archive you can download after you buy.

  • Full source code
  • Documentation
  • Installation guide
  • Automated tests
  • Licence file
  • Changelog

Customer reviews

Write a review

No reviews yet. Bought this item? Be the first to review it.

Usage

Install and use it in a few lines.

eos = env['taqnix.eos'].create({'employee_id': employee.id, 'policy_id': policy.id, 'reason': 'resignation',
    'date_start': '2018-03-01', 'date_end': '2026-10-31', 'wage': 6500.0, 'leave_days': 12})
eos.service_years, eos.gratuity, eos.net
eos.action_approve()
eos.action_pay()

Documentation

Setup, settings and troubleshooting, written by the author.

Open the documentation

Changelog

Every release, newest first.

v1.0.0

1.0.0 – Initial release

  • Configurable policies: tiers by years of service, cap, share by reason of leaving and length of service
  • Three example policies
  • Settlement with unpaid leave, leave pay, additions and deductions and a step by step breakdown
  • Approval and payment status, statement in PDF with signature boxes
  • Smart button on the employee, Arabic translation, automated tests

Frequently asked questions

Does it follow my country's labour law?

It follows the policy you configure: tiers, cap, the days in a month and a year, and the share by reason of leaving. Three example policies are delivered; they are examples, so check the rules that apply to you.

How is the gratuity calculated?

The service is the days between the hire date and the last day, minus the unpaid days, divided by the days in a year. Each tier pays its days of wage per year for the years that fall inside it, the result is capped, then multiplied by the share for the reason and the length of service.

Can the share depend on why the employee leaves?

Yes. Add share lines per reason and length of service, for example a resignation under two years pays nothing and one from two to five years pays a third.

Is unpaid leave taken into account?

Yes. Enter the unpaid leave days: they are taken off the service.

Does it include the unused leave?

Yes. Enter the unused leave days; they are paid at the daily wage and added to the net.

Can I add a loan or a bonus?

Yes, as additions and deductions on the settlement.

Can I print it?

Yes. A PDF statement with the full breakdown and the signature boxes.

Does it work in Arabic?

Yes. Everything is translated and works right to left, and the documentation is in Arabic too.

More from TAQNIX

  • ModuleNew

    Timesheet Approval for Odoo 19 Community – Weekly Sheets, Submit and Approve

    Weekly timesheet approval in Odoo Community: employees submit, managers approve or refuse with a reason, submitted hours are locked, with expected hours, sheets for everybody and a printable sheet.

    by TAQNIX
    No reviews yet
    Sales:0$69.00
  • ModuleNew

    Stock Transfer Requests for Odoo 19 Community – Branch Requests with Approval

    Let branches request stock from another warehouse in Odoo Community: stock shown at the source, approval in full or in part, the internal transfer created for you, and a printable slip.

    by TAQNIX
    No reviews yet
    Sales:0$49.00
  • ModuleNew

    Vendor Rating & Scorecard for Odoo 19 Community – On-time Delivery and Fill Rate

    Know which vendors deliver in Odoo Community: on-time delivery and fill rate from your receipts, quality and service ratings, an overall score, grades and a ranked scorecard.

    by TAQNIX
    No reviews yet
    Sales:0$59.00
  • ModuleNew

    Quotation Follow-up for Odoo 19 Community – Automatic Reminders and Activities

    Follow up unanswered quotations automatically in Odoo Community: friendly emails, call reminders for the salesperson, expiry warnings, all logged on the quotation.

    by TAQNIX
    No reviews yet
    Sales:0$49.00

Similar items

  • ModuleNew

    Timesheet Approval for Odoo 19 Community – Weekly Sheets, Submit and Approve

    Weekly timesheet approval in Odoo Community: employees submit, managers approve or refuse with a reason, submitted hours are locked, with expected hours, sheets for everybody and a printable sheet.

    by TAQNIX
    No reviews yet
    Sales:0$69.00
  • ModuleNew

    Employee Custody & Assets for Odoo 19 Community – Handover, Return and Clearance

    Track who holds which company item in Odoo Community: handover and return slips with condition, overdue reminders, a Custody tab and a clearance sheet on the employee.

    by TAQNIX
    No reviews yet
    Sales:0$49.00
  • ModuleNew

    Simple Payroll for Odoo 19 Community – Salary Rules, Payslips, Payroll Run, Unpaid Leave and Accounting

    Payroll for Odoo Community: salary rules and structures, a payroll run for the month, unpaid leave deducted, PDF payslips, accounting entries and the bank transfer list.

    by TAQNIX
    No reviews yet
    Sales:0$129.00
  • ModuleNew

    Leave Balance Report for Odoo 19 – Time Off Balance of Every Employee by Department, PDF and Excel

    The time off balance of every employee in one report: allocated, taken, pending and remaining per leave type, by department, overdrawn flagged, as of any date.

    by TAQNIX
    No reviews yet
    Sales:0$34.00