Skip to main content
End-of-Service / Gratuity Settlement — Automate end-of-service gratuity and final settlements in Odoo with configurable equat — 1/1Illustrative preview

Automate end-of-service gratuity and final settlements in Odoo with configurable equations per labor law.

Built, installed and supported by ECOSIRE.

What is End-of-Service / Gratuity Settlement?

Automate end-of-service gratuity and final settlements in Odoo with configurable equations per labor law. Built, installed and supported by ECOSIRE. Built to order by ECOSIRE for Odoo 17, 18, 19 — indicative price from $999.00 USD; request a quote for a scoped proposal.

Key Features

Gratuity calculated from a fully configurable equation (daily-wage basis x service years x per-slab multiplier) editable as data, no code change needed
Service-length slab engine — e.g. a lower rate for the first 5 years and a higher rate beyond, with unlimited configurable tiers
Resignation vs. termination rule sets that automatically apply the correct reduction factor (e.g. 1/3, 2/3, full) based on completed years of service
Country-law presets shipped as loadable Odoo data for GCC (UAE, KSA, Qatar, Oman, Bahrain, Kuwait), Pakistan and India, each editable after load
Final settlement builder that consolidates gratuity + leave encashment + pending salary + notice pay minus loans, advances and other deductions into one net figure
Leave encashment computed automatically from the employee's remaining allocation in hr.holidays / time-off, valued on your configured daily-wage rate
Stored compute fields with @api.depends on join date, last working day, contract wage and leave balance so the settlement recalculates the moment any input changes
Wage-basis configuration — choose basic salary, basic + fixed allowances, or full gross as the gratuity base, per country or per company
Service-period rounding and eligibility gates (e.g. minimum 1 year to qualify, pro-rata partial months) applied per labor-law preset
QWeb settlement statement PDF with a clear breakdown line-by-line, ready for the employee and HR to sign off
Multi-company and multi-currency aware — different legal entities can run different gratuity rules under one database
Accounting posting so the settlement payable and expense are journaled automatically, no re-keying into Finance
Security via ir.model.access.csv plus record rules restricting settlement records to HR and Finance roles only
Full audit trail — every recomputation, rule applied and approval logged in the record's chatter (mail.thread)
Optional XML-RPC / JSON-RPC exposure so an external HRIS or offboarding workflow can create and read settlements programmatically
Automated action / server action to flag employees approaching their last working day so settlements are prepared ahead of the leave date

Built to order, done for you

No DIY setup — a working app, built, installed and supported by ECOSIRE.

  1. 1

    You order

    Start with a one-time build price. We scope it with you at kickoff.

  2. 2

    We build & install

    ECOSIRE builds, configures and installs it on your Odoo.

  3. 3

    Go live + support

    You go live in about one working week, with two weeks of go-live support. Defects in the code we deliver are fixed free of charge.

Technical Specifications

Odoo Compatibility
Odoo 17, Odoo 18, Odoo 19
Editions
Enterprise & Community
License
Licence confirmation required
Python Requirement
Python 3.10+
Database
PostgreSQL 12+

About this Product

Processing a leaver in Odoo out-of-the-box means a spreadsheet, a lawyer's memo, and a lot of manual arithmetic — pro-rating years of service, applying resignation-versus-termination reductions, and reconciling leave encashment and outstanding dues by hand. Every mistake is a compliance and cashflow risk.

The ECOSIRE End-of-Service / Gratuity Settlement module removes that manual work. It is a purpose-built Odoo application that plugs into your existing HR and Payroll data and computes each employee's gratuity and final settlement from a configurable, auditable equation that mirrors the labor law you operate under — GCC (UAE, KSA, Qatar, Oman, Bahrain, Kuwait), Pakistan, India and beyond.

This is a BUILD-TO-ORDER engagement, not an off-the-shelf apps.odoo.com download. After purchase, ECOSIRE scopes your gratuity rules with your HR/legal team, then builds, installs and configures the module on your Odoo 17, 18 or 19 instance (Community or Enterprise) with a typical one working week lead time. You receive the full source, documentation and a support window — you own it outright.

Under the hood it is idiomatic Odoo. A dedicated models.Model for the settlement holds stored, compute fields (@api.depends on service dates, contract wage and leave balances) so the gratuity figure recalculates the instant an input changes. Rules are data, not hard-code: service-length slabs, daily-wage basis (basic vs. gross), capping, and resignation reduction factors are all configurable records you can edit without a developer. Country-law presets ship as loadable data. Access is governed by ir.model.access.csv plus record rules so only HR and Finance see settlements, and every calculation is captured in the chatter for audit. A QWeb report generates a signed-off settlement statement PDF, and the figures post through to accounting so the payable lands in your books automatically.

What you get

  • The complete, installable Odoo module source (custom addon with __manifest__.py, models, views, security and data files) targeting your Odoo 17, 18 or 19 version
  • Configured country-law preset(s) matching the jurisdiction(s) you operate in, tuned with your HR/legal team during scoping
  • Deployment and installation on your Odoo instance (Community or Enterprise), with all dependencies wired and the module upgraded cleanly
  • Configuration of your slabs, wage basis, resignation/termination rules and leave-encashment valuation, verified against sample leaver cases you provide
  • QWeb settlement statement report branded to your company, plus the accounting journal mapping for the payable
  • Written documentation — an admin configuration guide and an HR user guide covering the day-to-day settlement workflow
  • A live training session for your HR and Finance users, recorded for future staff onboarding
  • A defined post-go-live support window (two weeks) for fixes, questions and rule adjustments

Who this is for

GCC HR Manager processing leavers

Runs offboarding for a UAE or KSA workforce and needs gratuity computed exactly to the local labor law — correct daily-wage basis, service slabs and resignation reductions — without rebuilding a spreadsheet for every departure.

Finance / Payroll Controller

Owns the numbers that hit the books. Wants each end-of-service payable calculated, documented and journaled automatically so the settlement is reconciled, auditable and posted to accounting with zero re-keying.

HR Operations lead at a multi-entity group

Manages several legal entities across different countries in one Odoo database and needs each company to apply its own gratuity rules and presets consistently, with settlements restricted to authorized HR and Finance staff.

Odoo administrator / IT owner

Maintains the Odoo instance and wants a clean, upgrade-safe custom addon with proper security records and source they can read and extend — not an opaque black box that breaks on the next version bump.

How End-of-Service / Gratuity Settlement Compares

CriterionECOSIRECustom BuildCompetitorOdoo Native
Matches your exact labor law (GCC, PK, IN) rather than a generic formulaIncludedIncludedPartial supportNot included
Configurable service-length slabs and resignation vs. termination reduction factors as editable dataIncludedPartial supportPartial supportNot included
Full settlement (gratuity + leave encashment + dues - deductions) in one net figureIncludedPartial supportPartial supportNot included
Auto-recalculation via stored compute fields (@api.depends) when inputs changeIncludedPartial supportPartial supportNot included
QWeb settlement statement PDF and automatic accounting postingIncludedPartial supportPartial supportNot included
Row-level security via ir.model.access.csv + record rules restricting settlements to HR/FinanceIncludedPartial supportPartial supportNot included
Delivered, installed, configured and validated by an Odoo teamIncludedNot includedNot includedNot included
Full source ownership plus documentation, training and a support windowIncludedPartial supportNot includedNot included
Predictable cost and one working week timeline vs. open-ended in-house buildIncludedNot includedIncludedIncluded

Frequently Asked Questions about End-of-Service / Gratuity Settlement

How long until the module is delivered and live?

This is a build-to-order engagement with a typical one working week lead time from the point your gratuity rules are confirmed. After purchase we run a short scoping call to lock the labor-law equation, slabs and wage basis with your HR/legal team, then build, install and configure the module on your Odoo instance and validate it against sample leaver cases before go-live. It is not an instant download — you are commissioning a purpose-built module that ECOSIRE builds and deploys for you.

What support and updates do I get after go-live?

Your quote includes a defined post-go-live support window (two weeks) covering bug fixes, configuration questions and rule adjustments. You also receive the full module source, so your own team can maintain it. When labor law changes or you upgrade Odoo, ECOSIRE offers ongoing support and version-migration engagements so the module keeps working correctly across Odoo 17, 18 and 19.

Does this work on Odoo Community or only Enterprise?

Both. The module is built as a standard custom addon and targets Odoo 17, 18 and 19 on either Community or Enterprise. It integrates with your existing HR (hr.employee, contracts) and time-off data. If a specific feature depends on an Enterprise app in your environment, we confirm that during scoping so there are no surprises at install.

Can it match my exact labor law, not just a generic formula?

Yes — that is the point of build-to-order. Country-law presets for GCC, Pakistan, India and others ship as a starting point, but the equation, service slabs, daily-wage basis, capping, eligibility gates and resignation-versus-termination reduction factors are all configurable data we tune to your jurisdiction and your company policy during scoping. If your rules are unusual, we model them explicitly rather than forcing a generic template.

How is the final settlement figure calculated and can I trust it for audit?

Gratuity is a stored compute field driven by @api.depends on the employee's join date, last working day, contract wage and leave balance, so it recalculates automatically when any input changes. The final settlement consolidates gratuity plus leave encashment, pending salary and notice pay, minus loans and advances. Every recomputation and applied rule is logged in the record chatter, a QWeb PDF statement documents the breakdown line-by-line, and the payable posts to accounting — a full, auditable trail from input to journal entry.

Can external systems create or read settlements automatically?

Yes. Because it is native Odoo, settlements are available over the standard XML-RPC and JSON-RPC APIs. If you run an external HRIS or an automated offboarding workflow, we can expose endpoints so a settlement is created and read programmatically. We scope any such integration during the build so security and record rules still apply to API access.

What do you need from us to build it?

The labor law(s) and jurisdiction(s) you operate in, your written gratuity and end-of-service policy (slabs, wage basis, resignation/termination treatment, leave-encashment valuation), a few real or sample leaver cases to validate against, and access to your Odoo instance. We handle the rest — scoping, building, installing, configuring, documenting and training your team.

Request a quote

End-of-Service / Gratuity Settlement

Automate end-of-service gratuity and final settlements in Odoo with configurable equations per labor law. Built, installed and supported by ECOSIRE.

  • Gratuity calculated from a fully configurable equation (daily-wage basis x service years x per-slab multiplier) editable as data, no code change needed
  • Service-length slab engine — e.g. a lower rate for the first 5 years and a higher rate beyond, with unlimited configurable tiers
  • Resignation vs. termination rule sets that automatically apply the correct reduction factor (e.g. 1/3, 2/3, full) based on completed years of service
  • Country-law presets shipped as loadable Odoo data for GCC (UAE, KSA, Qatar, Oman, Bahrain, Kuwait), Pakistan and India, each editable after load

Request a Quotation

Tell us about your End-of-Service / Gratuity Settlement requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.