Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Human Resources Payroll
  3. EH HR Loan v 19.0
  4. Sales Conditions FAQ

EH HR Loan

by ERP Heritage https://erpheritage.com.au
Odoo
v 19.0 Third Party 20
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Employees (hr)
• Discuss (mail)
Community Apps Dependencies Show
• EH HR Compatibility
• EH HR Platform Core
• EH HR Workflow Engine
Lines of code 1374
Technical Name eh_hr_loan
LicenseLGPL-3
Websitehttps://erpheritage.com.au
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Employees (hr)
• Discuss (mail)
Community Apps Dependencies Show
• EH HR Compatibility
• EH HR Platform Core
• EH HR Workflow Engine
Lines of code 1374
Technical Name eh_hr_loan
LicenseLGPL-3
Websitehttps://erpheritage.com.au
Versions 16.0 17.0 18.0 19.0
ERP Heritage · HR Platform
EH HR PLATFORM · LOANS AND ADVANCES

Employee Loans and Advances

Request, approve, disburse, and repay employee loans on a configurable workflow with a tamper-evident audit trail.

Free · LGPL-3Free · LGPL-3Odoo 19 · Communityv1.0.0
Loan workflow
Repayment schedule
Group-gated approvals
Hash-chained audit
Multi-company

Why this module

Employee Loans and Advances

WORKFLOW

Six steps, role-gated

Draft, submitted, approved, disbursed, closed, or refused. Each transition is restricted to the matching HR group (self-service submit, manager approve, officer disburse and close) by the shared workflow engine, so no record skips a step or moves outside its allowed path.

SCHEDULE

Schedule on disbursement

Disbursing a loan auto-generates an equal-instalment monthly repayment schedule from principal plus flat interest, dated forward from the start date. Mark instalments paid and the total paid and outstanding balance recompute in place.

AUDIT

Tamper-evident trail

Create, write, and unlink on every loan land in an append-only, sha256 hash-chained audit log, serialized by a Postgres advisory lock and checkable with verify_chain. State, amount, interest, and employee changes are captured before and after.

Day in the life

From request to last instalment

An employee files a loan request with an amount, instalment count, and reason, then submits it. A manager reviews and approves or refuses. An HR officer disburses, which generates the monthly repayment schedule automatically. As payroll or finance settles each instalment, the officer marks the line paid and the outstanding balance falls, until the officer closes the loan at zero. Every one of those moves is signed into the audit chain, so a later reviewer can reconstruct exactly who changed what and when.

Edge cases

The cases most modules quietly ignore.

In the shipped code today, each one a place where a cheaper module silently does the wrong thing.

FINAL STATE

Closed and refused are terminal. The engine refuses any further transition out of a final state, even one a misconfigured definition might declare, so a closed or refused loan cannot be silently reopened.

GROUP GUARD

Each transition checks the user against the transition's allowed groups before the state advances. A user outside the group gets a clear refusal, not a partial state change.

CROSS-COMPANY

Loans are strictly company-scoped. Writing a loan into a company the user does not belong to is rejected, and any audited cross-company override is itself logged with every affected record id.

CONCURRENCY

Audit appends serialize on a transaction-scoped Postgres advisory lock, so two concurrent transitions cannot fork the hash chain. The lock releases automatically on commit or rollback.

REGENERATION

Generating the schedule clears any existing repayment lines first, so re-running it on disbursement never leaves stale or duplicated instalments behind.

CONSTRAINT

A database check rejects negative loan amounts and non-positive instalment counts at write time, before any schedule math runs.

What is inside

Built to do the job, end to end.

  • Loan and instalment models. eh.hr.loan holds the request, amounts, interest rate, instalment count, and computed total repayable, total paid, and outstanding balance. eh.hr.loan.line holds each repayment instalment with sequence, due date, amount, and a paid flag, ordered by sequence and due date.
  • Workflow definition. A data-defined workflow (states and transitions, group-gated) drives the status bar. Disbursement binds a post-action that builds the repayment schedule. States and ordering live in configurable records, not hard-coded enums.
  • Audited and company-aware mixins. Shared platform mixins add the hash-chained audit emission, the strict multi-company company_id with cross-company refusal, mail.thread tracking on key fields, and auto-sequence naming on create.
  • Access and security. Model access is split across HR admin, officer, and self-service employee groups, with employees able to read their own loan lines but not edit them, matching the workflow's group-gated transitions.

Honest about the edges

What this does not do, so nothing surprises you.

  • No accounting integration. The module does not post journal entries or move money; disbursement and repayment are workflow and schedule state only. Posting to journals is a future seam, as the manifest states.
  • No payroll deduction. Marking an instalment paid is a manual action; instalments are not auto-deducted from payslips or matched to bank statements.
  • Interest is flat only. Total repayable is principal times (1 plus rate percent); there is no reducing-balance or amortized-interest method.
  • The repayment schedule is equal monthly instalments dated forward from the start date. Custom cadences (weekly, fortnightly, irregular) and bespoke instalment amounts are not generated automatically.
  • Loan transitions are gated by HR group membership. This module's workflow does not route loans through the separate multi-step approval-engine chain, so escalation ladders and the engine's self-approval guard are not wired into the loan flow as shipped.
  • Requires the EH HR Platform base (eh_hr_core, eh_hr_compat, eh_hr_engine_workflow) and the standard hr module.
Search

employee loan management odoo, salary advance odoo 19, hr loan repayment schedule, staff loan instalment tracking, loan approval workflow, employee advance request, outstanding loan balance, multi-company hr odoo, hr audit trail, odoo 19 community hr loan, flat interest loan, payroll loan module

ERP Heritage

Production-grade Odoo accounting, built to an engineering bar and documented honestly. Support: info@erpheritage.com.au

v1.0.0 · LGPL-3 · Odoo 19 Community

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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with