OdooWiki OCA HUB

HR Expense Payment Widget Amount

hr_expense_payment_widget_amount folder_open OCA/hr-expense open_in_new
Human Resources License: AGPL-3

This module adds a popover widget in the expense report view when there are outstanding payments that allows the user.

NOTE: expense report paid by company will not popover widget.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Shows a payment widget on expense reports so users can see the payments already linked to a report and remove a wrong outstanding payment directly from the form.

This module adds a payment information widget to the expense report form (the hr.expense.sheet screen). When a report has payments registered against it, the widget appears right after the residual amount field and lists those payments with their journal, date, amount, currency and payment method.

  • The widget is titled "Less Payment" and is built automatically from the payments linked to the report.
  • Amounts are converted into the company currency using the payment date, so the figures match the company books.
  • Each payment line carries the information needed to identify the related journal entry and reconciliation, so the user can open or remove it from the widget.

A second behaviour concerns removing an outstanding payment. Expense reports can be partially reconciled across several lines, so when a user removes a payment from the widget, the module checks all partial reconciliations linked to the report's journal entry and removes the correct ones instead of only one.

After such a removal, the related expense reports are set back to the "Posted" state, so the accounting situation stays consistent. The module only touches the expense report form and the accounting entries behind it; it does not create new menus or reports.

Models and fields (2)
  • account.move · extends an existing model
  • hr.expense.sheet · extends an existing modelexpense_payments_widget

Text generated by AI (DeepSeek) from reading the Odoo 15.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/hr-expense.

terminal Installation and usage

No verified information

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.

info

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.