mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-29 09:01:14 +02:00
fix: Correct Party Bank Account mapping in Payment Entry
(cherry picked from commit 376bdc75f4)
This commit is contained in:
@@ -2826,7 +2826,7 @@ def get_payment_entry(
|
|||||||
|
|
||||||
if pe.party_type in ["Customer", "Supplier"]:
|
if pe.party_type in ["Customer", "Supplier"]:
|
||||||
bank_account = get_party_bank_account(pe.party_type, pe.party)
|
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()
|
pe.set_bank_account_data()
|
||||||
|
|
||||||
# only Purchase Invoice can be blocked individually
|
# only Purchase Invoice can be blocked individually
|
||||||
|
|||||||
Reference in New Issue
Block a user