Merge pull request #45202 from DaizyModi/fix-party-bank-acc-in-pe

fix: Correct Party Bank Account mapping in `Payment Entry` from Transactional Doctypes
This commit is contained in:
ruthra kumar
2025-01-20 12:22:10 +05:30
committed by GitHub

View File

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