Files
account-tools/account_move_last_payment/README.md
maud-buchwalter c704459de7
Some checks failed
tests / test (pull_request) Failing after 3m17s
pre-commit / pre-commit (pull_request) Failing after 1m58s
[ADD] account_move_last_payment display last date and payment method on invoice
2026-10-22 11:26:37 +02:00

34 lines
1.1 KiB
Markdown

# Account Move Last Payment
Expose on `account.move` the date and method of the most recent real payment reconciled
with an invoice, as two stored, exportable fields shown in the invoice list view.
## Features
- `last_payment_date` (Date): date of the most recent payment reconciled with the
invoice — partial payments included.
- `last_payment_method` (Char): method of that most recent payment: the payment method
line name for explicit payments, "Bank Transfer" when the invoice was settled through
a direct bank statement line reconciliation.
- Covers both Community reconciliation paths: explicit payment ("Register Payment"
wizard) and direct bank statement reconciliation. Manual reconciliations without
payment or statement line are ignored, as are exchange difference moves.
- Recomputes automatically on reconcile / unreconcile and when a payment or statement
line date changes.
- Both fields are stored and displayed as optional columns of the invoice list view, so
they are exportable.
## Installation
Depends on the `account` module only.
## Credits
### Contributors
- Elabore - Assisted by AI
### Maintainer
- Elabore