fix: fetch allocated amount for individual invoice (#19259)

This commit is contained in:
Mangesh-Khairnar 2019-10-11 11:06:11 +05:30 committed by Nabin Hait
parent 29a5756f87
commit 1d781f13b2

View File

@ -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