From a9cd07585d786e5e7489b635596d7f4ebaa25f16 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Mon, 29 Mar 2021 15:07:47 +0000 Subject: [PATCH] [FIX] account: Journal Entry displayd as invoice Steps to reproduce the bug: 1/ Create an opening balance Journal Entry with debit 100$ "121000 Account Receivable" and credit 100$ on another account 2/ Create an invoice for 150$ 3/ Register a payment of 250$ for this invoice 4/ Reconcile the Journal Item of the payment (with "121000 Account Receivable" as account) with the opening balance => this line should be now fully reconcile 5/ Go to the payment and try to print the payment receipt Bug: The opening balance was shown as an invoice opw:2448349 closes odoo/odoo#68809 X-original-commit: fda784cd6a831fb799767a486320574e754d20df Signed-off-by: Laurent Smet --- .../views/report_payment_receipt_templates.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/addons/account/views/report_payment_receipt_templates.xml b/addons/account/views/report_payment_receipt_templates.xml index c19460f4d51..2bd649e9aa8 100644 --- a/addons/account/views/report_payment_receipt_templates.xml +++ b/addons/account/views/report_payment_receipt_templates.xml @@ -46,12 +46,14 @@ - - - - - - + + + + + + + +