Make payment entry aginst order, payment request and patch to rename advance table fields

This commit is contained in:
Nabin Hait
2016-06-29 18:04:37 +05:30
parent 05aefbbf5d
commit 13093b4b68
14 changed files with 212 additions and 154 deletions

View File

@@ -471,9 +471,10 @@ def get_outstanding_invoices(party_type, party, account, condition=None):
"party_type": party_type,
"party": party,
"account": account,
}, as_dict=True)
}, as_dict=True, debug=1)
for d in invoice_list:
print d.voucher_no, d.invoice_amount, d.payment_amount
outstanding_invoices.append(frappe._dict({
'voucher_no': d.voucher_no,
'voucher_type': d.voucher_type,