From 183e42af1a727b3597d0c48daf68b7f3c3d7f1ec Mon Sep 17 00:00:00 2001 From: Alirio Castro Date: Sun, 19 Feb 2023 10:10:13 -0400 Subject: [PATCH] fix: differency entry journal debit/credit missing (#34104) * fix: difference entry journal is wrong * fix: difference entry journal is wrong --- .../doctype/payment_reconciliation/payment_reconciliation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py b/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py index 675a3287fa..e3d9c26b2d 100644 --- a/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py +++ b/erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.py @@ -368,6 +368,7 @@ class PaymentReconciliation(Document): "exchange_rate": 1, "cost_center": erpnext.get_default_cost_center(self.company), reverse_dr_or_cr + "_in_account_currency": flt(row.difference_amount), + reverse_dr_or_cr: flt(row.difference_amount), } )