Set bill no while making payment entry from purchase invoice

This commit is contained in:
Nabin Hait 2017-09-26 15:56:47 +05:30
parent d4c2d77bba
commit b0ba55e52f

View File

@ -765,6 +765,7 @@ def get_payment_entry(dt, dn, party_amount=None, bank_account=None, bank_amount=
pe.append("references", {
"reference_doctype": dt,
"reference_name": dn,
"bill_no": doc.get("bill_no"),
"due_date": doc.get("due_date"),
"total_amount": grand_total,
"outstanding_amount": outstanding_amount,