fix: Correct Party Bank Account mapping in Payment Entry

(cherry picked from commit 376bdc75f4)
This commit is contained in:
DaizyModi
2025-01-10 11:06:39 +05:30
committed by Mergify
parent bf8d6ae6bf
commit 4a390ae3de

View File

@@ -2826,7 +2826,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