Payment Difference on HR expenses
This module extend the functionality of payment wizard in hr expense, to also allow you to enter the payment difference amount.
auto_awesome What this module does
AI-generated from the code · Odoo 13.0When you register a payment for an expense report, this module lets you enter an amount that differs from the total and decide how to handle the difference: keep the report open or mark it fully paid with a write-off account.
This module extends the payment wizard used on expense reports (hr.expense.sheet). When you open the Register Payment screen, the amount is pre-filled with the outstanding balance of the report, calculated from the payable/receivable lines of its journal entry.
If the amount you enter is different from that balance, a new section appears showing the payment difference. You then choose how to treat it:
- Keep open: the difference stays outstanding on the expense report.
- Mark invoice as fully paid: the difference is written off, and you must select a Difference Account and a Journal Item Label (default "Write-Off").
The wizard also passes the difference handling, write-off account and label to the created payment, and the payment's own difference computation is adjusted so it matches the expense report context.
Everything happens inside the existing Register Payment wizard of the Expenses app; no new menu is added. The module touches hr.expense.sheet, the payment wizard hr.expense.sheet.register.payment.wizard and account.payment.
Depends on
Models and fields (3)
- account.payment · extends an existing model
- hr.expense.sheet · extends an existing modeldifference_residual
- hr.expense.sheet.register.payment.wizard · extends an existing modelwriteoff_label (Journal Item Label), payment_difference, writeoff_account_id (Difference Account), payment_difference_handling
Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/hr.
terminal Installation and usage
OCA documentation · Odoo 13.0Usage
Source · Odoo 13.0- Go to Expenses > My Expenses
- Create a new Expense and Report as normal
- As normal, do Submit to Manager > Approve > Post Journal Entries > Register Payment.
- When you change Payment Amount not equal Total Amount, you will see new field "Payment difference".
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.