| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Employee Contracts (hr_contract) • Invoicing (account) • Time Off (hr_holidays) • Employees (hr) • Calendar (calendar) |
| Lines of code | 712 |
| Technical Name |
mfx_leave_encashment |
| License | OPL-1 |
| Website | https://macrofix.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Employee Contracts (hr_contract) • Invoicing (account) • Time Off (hr_holidays) • Employees (hr) • Calendar (calendar) |
| Lines of code | 712 |
| Technical Name |
mfx_leave_encashment |
| License | OPL-1 |
| Website | https://macrofix.com |
| Versions | 17.0 18.0 19.0 |
Leave Encashment
Convert unused leave days into monetary compensation. Seamlessly integrated with Time Off, Contracts & Accounting.
Why Leave Encashment?
Employees accumulate unused leave balances throughout the year. Instead of letting those days expire, Leave Encashment lets them convert unused leave into cash — calculated automatically from their contract wage and work schedule. The entire process, from request to journal entry, is handled within Odoo.
Key Features
Everything you need for leave encashment in one module
Encashable Leave Types
Mark specific leave types as encashable. Only those types appear in the request form.
Auto Rate Calculation
Per-day rate computed from contract wage and work schedule. Zero manual input needed.
Approval Workflow
Submit → Approve/Reject flow with manager notifications and activity tracking.
Accounting Integration
Auto-creates draft journal entries on approval. Accountant reviews and posts.
Balance Validation
Validates leave balance at submission AND approval to prevent over-encashment.
Chatter & Activities
Full audit trail with chatter. Manager gets activity notification on new requests.
Module Screenshots
See the actual Odoo 17 interface in action
Encashment List View
Color-coded status badges, amount totals, and search filters for easy management.
Encashment Form — Draft State
Employee details, auto-calculated encashment amount, and reason field. Accounting section visible to admins.
Encashment Form — Approved State
Approved request showing journal entry link, approval details, and chatter audit trail.
Leave Type Configuration
New "Allow Encashment" toggle added to the existing Leave Type form.
Settings — Default Accounts
Configure default journal and accounts under Settings → Employees to auto-fill new requests.
Menu Structure
Integrated under Time Off with sub-menus: My Requests, All Requests, Pending Approvals.
Mark Leave Types as Encashable
Automatic Per-Day Rate Computation
Single-Level Approval with Full Automation
Automatic Journal Entries on Approval
Dual-Stage Balance Validation
Configurable Defaults in HR Settings
How It Works
4 simple steps from configuration to payout
Configure
Mark leave types as encashable. Set default accounts.
Request
Employee picks leave type, enters days. Amount computed instantly.
Submit
System validates balance and contract. Manager notified.
Approve
Manager approves. Leave deducted + draft journal entry created.
Security & Access Control
Two roles with proper record rules and access rights
Encashment Officer
For employees and HR officers
Encashment Manager
For HR managers and admins
Menu Structure
Integrated under the Time Off application
Quick Setup Guide
Get started in 3 simple steps
Enable Encashable Leave Types
Go to Time Off → Configuration → Leave Types, open the desired leave type and enable the "Allow Encashment" toggle.
Set Default Accounts (Recommended)
Go to Settings → Employees → Leave Encashment Defaults and configure a default Journal, Expense Account, and Payable Account.
Ensure Active Contracts
Employees must have an active (Running) contract with a wage set. The rate is derived from contract wage and work schedule.
Technical Details
MODELS
hr.leave.encashment (new)
hr.leave.type (inherited)
res.config.settings (inherited)
DEPENDENCIES
hr_holidays (Time Off)
hr_contract (Contracts)
account (Invoicing)
mail (Discuss)
HIGHLIGHTS
Sequence: ENC/YYYY/XXXXX
License: OPL-1
Multi-company: Supported
Unit tested: Yes
Need Help or Customization?
Our team is ready to assist with installation, configuration, or custom feature requests.
✉ support@macrofix.comMacrofix • Odoo Development Partner
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module