Skip to content

Commit

Permalink
Merge pull request #45202 from DaizyModi/fix-party-bank-acc-in-pe
Browse files Browse the repository at this point in the history
fix: Correct Party Bank Account mapping in `Payment Entry` from Transactional Doctypes
  • Loading branch information
ruthra-kumar authored Jan 20, 2025
2 parents 30e87c3 + 376bdc7 commit 5fb158a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/doctype/payment_entry/payment_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fb158a

Please sign in to comment.