From 376bdc75f4f0f162dde2b493b07d5405530fc2d3 Mon Sep 17 00:00:00 2001 From: DaizyModi Date: Fri, 10 Jan 2025 11:06:39 +0530 Subject: [PATCH] fix: Correct Party Bank Account mapping in `Payment Entry` --- erpnext/accounts/doctype/payment_entry/payment_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index 402d4539142d..ab97239ef878 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -2918,7 +2918,7 @@ def get_payment_entry( if pe.party_type in ["Customer", "Supplier"]: bank_account = get_party_bank_account(pe.party_type, pe.party) - pe.set("bank_account", bank_account) + pe.set("party_bank_account", bank_account) pe.set_bank_account_data() # only Purchase Invoice can be blocked individually