fix: incorrect debit credit amount in presentation currency
diff --git a/erpnext/accounts/report/utils.py b/erpnext/accounts/report/utils.py
index c38e4b8..9e721fb 100644
--- a/erpnext/accounts/report/utils.py
+++ b/erpnext/accounts/report/utils.py
@@ -92,10 +92,10 @@
account_currency = entry['account_currency']
if len(account_currencies) == 1 and account_currency == presentation_currency:
- if entry.get('debit'):
+ if debit_in_account_currency:
entry['debit'] = debit_in_account_currency
- if entry.get('credit'):
+ if credit_in_account_currency:
entry['credit'] = credit_in_account_currency
else:
date = currency_info['report_date']