From c7ea6188c4ef920af510c6005cc51a1062e0e31a Mon Sep 17 00:00:00 2001 From: "Nicolas (vin)" Date: Mon, 19 Jul 2021 14:12:55 +0000 Subject: [PATCH] [IMP] account: payment receipt improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current template used to render the payment receipt lack of details, which cause it to sometimes not make much sense. Eg. Invoice of 3000 Reversal of 1000 Payment of 2000 The receipt won't display information about the reversal, showing something akin to "3000-2000 = 0" This will improve the template to give more detail to the user and avoid possible incomprehension. Task id #2545590 closes odoo/odoo#73974 Signed-off-by: William André (wan) --- .../report_payment_receipt_templates.xml | 84 +++++++++++-------- 1 file changed, 50 insertions(+), 34 deletions(-) diff --git a/addons/account/views/report_payment_receipt_templates.xml b/addons/account/views/report_payment_receipt_templates.xml index ef218e710dd..ea9f53ce541 100644 --- a/addons/account/views/report_payment_receipt_templates.xml +++ b/addons/account/views/report_payment_receipt_templates.xml @@ -5,56 +5,72 @@

Payment Receipt:

-
-
- Payment Date: +
+
+
+ Payment Date: +
-
-
-
- - Customer: - - - Vendor: - +
+
+ + Customer: + + + Vendor: + +
+
+ Payment Method: +
-
- Payment Method: +
+
+ Payment Amount: +
+
+ Memo: +
-
-
- Payment Amount: -
-
- Memo: -
-
- - - + - - + + - - - - - - + + + + + + + + + + + + + + + + + + + + - +
Invoice Date Invoice Number ReferenceOriginal AmountAmount PaidBalanceAmount
-
+ Due Amount for +