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. Employees
  3. EH HR Payroll Links v 19.0
  4. Sales Conditions FAQ

EH HR Payroll Links

by ERP Heritage https://www.erpheritage.com.au/
Odoo
v 19.0 Third Party 10
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
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)
• Attendances (hr_attendance)
Community Apps Dependencies Show
• EH HR Gratuity
• EH HR Loan
• EH HR Overtime
• EH HR Payroll
• EH HR Salary Advance
• EH HR Compatibility
• EH HR Platform Core
• EH HR Workflow Engine
• EH HR Attendance Pro
• EH HR Approval Engine
• EH HR Notify Engine
• EH HR Policy Engine
Lines of code 7346
Technical Name eh_hr_payroll_link
LicenseLGPL-3
Websitehttps://www.erpheritage.com.au/
Versions 16.0 17.0 18.0 19.0
ERP Heritage · HR Platform
ERP Heritage · HR Payroll

HR Payroll Links

Loans, advances, overtime and gratuity reach the payslip, once.

Free · LGPL-3Free · LGPL-3Odoo 19 · Communityv1.0.0
Loan to payslip
Advance recovery
Overtime hours
Gratuity payout
No double deduction

Why this module

HR Payroll Links

REACHES NET

Requests that actually get paid

An approved loan, advance, overtime entry or gratuity does nothing for the employee until it lands on a payslip. This module collects each one for the right employee and period and writes it as an input line the salary structure can price, so the amount flows through gross, deductions and net.

PAID ONCE

Marked processed on payment

When the payslip is paid, the loan instalment is set paid, the advance is flagged recovered, and the overtime and gratuity records are marked processed. The next payslip for the same employee and period sees nothing left to feed, so a recovery never doubles up.

RULE-DRIVEN

The structure decides treatment

Inputs carry stable codes (LOAN, ADVANCE, OT_HOURS, GRATUITY). Your salary rules read inputs.CODE to add or deduct, and overtime arrives as a quantity of hours so a rule applies your own hourly rate. No hard-coded pay logic lives in the bridge.

Day in the life

Run the January pay

You compute a payslip. The bridge looks at the employee and the date window and pulls in a 200 loan instalment due on the 15th, a 300 advance set to recover in January, ten approved paid overtime hours, and an approved gratuity. Each becomes an input line; your structure rules turn them into a loan deduction, an advance deduction, an overtime allowance and a gratuity allowance. You confirm and pay. The instalment is marked paid, the advance recovered, the overtime and gratuity marked processed. Run the same period again and the slip feeds nothing new.

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.

IDEMPOTENT FEED

Auto inputs are deleted and rebuilt on every compute, so recomputing a slip never duplicates a loan, advance, overtime or gratuity line.

PAID-ONLY MARKING

Source records are flagged processed only when the slip is actually paid, never on draft compute, so an unpaid or cancelled draft leaves the loan, advance and gratuity available for the real run.

NO DOUBLE DEDUCTION

Once paid, the instalment, advance, overtime and gratuity are marked done; a fresh payslip for the same employee and period feeds nothing, verified by a regression test.

MANUAL PRESERVED

Only auto-generated inputs are rebuilt. Input lines you enter by hand on the payslip are left untouched across every recompute.

PERIOD WINDOW

Each feeder matches on its own date inside the slip's from/to window: loan due_date, advance recover month, overtime work date, gratuity computation date. Records outside the window are not pulled.

HOURS AS QUANTITY

Overtime is fed as a quantity of compensated hours with a zero amount, so the salary rule, not the bridge, applies the employee's rate and multiplier policy.

PAID-STATE GATING

Only paid advances, done paid-compensation overtime, and approved gratuities are eligible, so requests still in draft or pending approval never slip into pay early.

What is inside

Built to do the job, end to end.

  • Four feeders, one hook. A single override of the payslip's auto-input collector appends loan, advance, overtime and gratuity input dicts. The base payroll engine rebuilds these on each compute and leaves manual inputs alone.
  • Processed markers. Three boolean flags (payslip-processed on overtime and gratuity, recovered on salary advance) plus the existing loan-line paid flag. All are copy-false and read-only, so duplicating a record or hand-editing the form will not silently reopen a settled item.
  • Stable input codes. LOAN and ADVANCE arrive as amounts for deduction rules; OT_HOURS arrives as an hours quantity; GRATUITY arrives as an amount. Your salary structure references each by code, keeping pay logic in the rules where you can audit it.
  • Pay-time settlement. On payment the bridge re-runs the same period queries and writes the processed and paid markers in one pass per source, so settlement matches exactly what the slip fed.
  • Tested end to end. Shipped tests drive a real structure from compute through pay, asserting the four amounts reach gross, deductions and net, that recompute does not duplicate, that manual inputs survive, and that a second slip feeds nothing.

Honest about the edges

What this does not do, so nothing surprises you.

  • This is a connector, not an application. It installs no menus, views, wizards or reports of its own; you work in the standard payslip form. It hard-depends on the ERP Heritage payroll, loan, overtime, gratuity and salary advance modules and does nothing without them.
  • It feeds whole amounts as the source records report them. It does not prorate a loan instalment, advance or gratuity across partial periods, and it does no currency conversion; amounts and the hourly rate are handled by your salary rules.
  • Settlement happens at payment, not at confirm. A paid slip that is later reversed does not automatically reopen the loan instalment, advance or gratuity flags; reversing a settled period is a manual correction.
  • There is no scheduled job, advisory lock or approval ladder in this module. Eligibility gating relies on the source records' own states (paid advance, done overtime, approved gratuity), and period matching uses each feeder's own date field.
Search

Odoo 19 payroll integration, loan deduction in payslip, salary advance recovery payroll, overtime to payslip Odoo, end of service gratuity payout, payslip input lines, salary structure rules Odoo, idempotent payroll feed, HR payroll bridge Community, no double deduction payroll, Odoo Community HR payroll, feed loan instalment payslip

Work with ERP Heritage

Need this fitted to the way you work?

ERP Heritage delivers end to end Odoo work: Odoo Implementation, Customization and Development, Integration, Migration, Consultation, Support and Training. We help teams put this module into production, shape it to their process, and keep it running.

Build and tailor
Odoo Implementation, Customization and Development, scoped to your workflow.
Connect and move
Odoo Integration and Migration across systems and Odoo versions.
Run and support
Odoo Support and Training so your team stays productive after go live.
Plan and advise
Odoo Consultation and ERP Consulting, from discovery to roadmap.

We work with businesses across Australia (Melbourne, Sydney, Brisbane, Perth, Adelaide, Canberra) and the Middle East (Dubai, Abu Dhabi, Riyadh, Jeddah, Doha, Kuwait City, Muscat). Start a conversation at erpheritage.com.au or email info@erpheritage.com.au.

Languages

Available in 19 languages

The interface ships translated out of the box. Switch language in Odoo and the fields, menus, and messages follow.

ArabicChinese (Simplified)Chinese (Traditional)DutchFrenchGermanHindiIndonesianItalianJapaneseKoreanPolishPortuguese (Brazil)RussianSpanishSwedishThaiTurkishVietnamese
ERP Heritage

Production-grade Odoo HR, built to an engineering bar and documented honestly. Support: info@erpheritage.com.au
Developed by Odoo Customisation Services • LinkedIn

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