mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-20 07:15:11 +00:00
fix: fetch allocated amount for individual invoice (#19259)
This commit is contained in:
committed by
Nabin Hait
parent
29a5756f87
commit
1d781f13b2
@@ -1045,7 +1045,7 @@ def make_payment_order(source_name, target_doc=None):
|
||||
|
||||
def update_item(source_doc, target_doc, source_parent):
|
||||
target_doc.bank_account = source_parent.party_bank_account
|
||||
target_doc.amount = source_parent.base_paid_amount
|
||||
target_doc.amount = source_doc.allocated_amount
|
||||
target_doc.account = source_parent.paid_to
|
||||
target_doc.payment_entry = source_parent.name
|
||||
target_doc.supplier = source_parent.party
|
||||
|
||||
Reference in New Issue
Block a user