fix: Remove debug statement

(cherry picked from commit becb39da902e7e113c3dacb7eee7921144b8e99d)
This commit is contained in:
Deepesh Garg 2021-12-28 13:18:17 +05:30 committed by mergify-bot
parent d807d78313
commit 057cfb22d6

View File

@ -115,7 +115,7 @@ def get_paid_amount(payment_entry, currency, bank_account):
payment_entry.payment_entry, paid_amount_field)
elif payment_entry.payment_document == "Journal Entry":
return frappe.db.get_value('Journal Entry Account', {'parent': payment_entry.payment_entry, 'account': bank_account}, "sum(credit_in_account_currency)", debug=1)
return frappe.db.get_value('Journal Entry Account', {'parent': payment_entry.payment_entry, 'account': bank_account}, "sum(credit_in_account_currency)")
elif payment_entry.payment_document == "Expense Claim":
return frappe.db.get_value(payment_entry.payment_document, payment_entry.payment_entry, "total_amount_reimbursed")