diff --git a/dlv_account_reconciliation_rest_amount/CHANGELOG.md b/dlv_account_reconciliation_rest_amount/CHANGELOG.md index aca6ef9..d48722d 100644 --- a/dlv_account_reconciliation_rest_amount/CHANGELOG.md +++ b/dlv_account_reconciliation_rest_amount/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. -- Show the rest (still open) amount in parentheses on the bank - reconciliation screen, for both the bank movement line and any partially - used added invoice/bill line. +- Show the rest (still open / residual) amount in parentheses on the bank + reconciliation screen, next to any partially used added invoice/bill line + (i.e. an invoice whose full amount is larger than the part used to close + the statement line). The bank movement (liquidity) line and the auto-created + suspense/open-balance line are out of scope — see README.md. diff --git a/dlv_account_reconciliation_rest_amount/README.md b/dlv_account_reconciliation_rest_amount/README.md index 2060433..7f3d1b3 100644 --- a/dlv_account_reconciliation_rest_amount/README.md +++ b/dlv_account_reconciliation_rest_amount/README.md @@ -20,6 +20,22 @@ remains unmatched on that line. This addon adds that missing number, e.g.: so the user immediately sees that €2.586,38 of that invoice is still outstanding, without having to search for it elsewhere. +## Scope + +This addon covers exactly one case: an added invoice/bill line that is only +**partially** used to close the statement line (invoice amount > amount used). +The number shown is that invoice's residual / still-open amount +(`amount_residual`, "restbedrag / openstaand saldo"). + +Explicitly **out of scope**: + +- The bank movement (liquidity) line — always reflects the full statement line + amount; there is no partial/rest concept for it (see note below). +- The opposite case, where the payment is *larger* than the matched invoice(s) + and the surplus is auto-posted to the suspense/waiting account as an "open + balance" line. That surplus is a property of the statement line, not of a + partially used invoice, so this addon does not annotate it. + ## How it works - `models/bank_rec_widget_line.py` inherits `bank.rec.widget.line` and adds diff --git a/dlv_account_reconciliation_rest_amount/__manifest__.py b/dlv_account_reconciliation_rest_amount/__manifest__.py index 1c784de..2339724 100644 --- a/dlv_account_reconciliation_rest_amount/__manifest__.py +++ b/dlv_account_reconciliation_rest_amount/__manifest__.py @@ -1,13 +1,19 @@ # -*- coding: utf-8 -*- { "name": "Reconciliation Rest Amount", - "summary": "Toon het restbedrag tussen haakjes op het afletterscherm " - "(bank reconciliatie)", + "summary": "Toon het restbedrag (openstaand saldo) van een gedeeltelijk " + "afgepunte factuur tussen haakjes op het bank-afletterscherm", "description": """ -Voegt het restbedrag (verschil tussen het volledige bronbedrag en het bedrag -dat effectief wordt ingezet) tussen haakjes toe op het bank-afletterscherm -(bank.rec.widget), naast een gedeeltelijk gematchte afletteringsregel -(bv. een factuur waarvan niet het volledige bedrag wordt gebruikt). +Voegt het restbedrag (openstaand saldo = verschil tussen het volledige +bronbedrag van de factuur en het bedrag dat effectief wordt ingezet) tussen +haakjes toe op het bank-afletterscherm (bank.rec.widget), naast een +gedeeltelijk gematchte afletteringsregel — een factuur/kostenboeking waarvan +niet het volledige bedrag wordt gebruikt om de afschriftregel af te punten +(factuur > gebruikt bedrag). + +Buiten scope: de bankbewegingsregel zelf (toont altijd het volledige +afschriftbedrag) en het overschot van een betaling dat op de wachtrekening / +suspense-rekening ("open balance") belandt. """, "author": "bv Domus La Vila", "website": "https://domuslavila.eu", diff --git a/dlv_account_reconciliation_rest_amount/static/src/xml/reconciliation_rest_amount.xml b/dlv_account_reconciliation_rest_amount/static/src/xml/reconciliation_rest_amount.xml index 118d1d9..d5651fc 100644 --- a/dlv_account_reconciliation_rest_amount/static/src/xml/reconciliation_rest_amount.xml +++ b/dlv_account_reconciliation_rest_amount/static/src/xml/reconciliation_rest_amount.xml @@ -18,9 +18,11 @@ De bovenste rij gebruikt t-out als attribuut rechtstreeks op de