fix: column 'outstanding_amount' cannot be null (#26404)

This commit is contained in:
Saqib 2021-07-09 15:33:14 +05:30 committed by GitHub
parent fe4f58d0f6
commit 13d7043451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1318,9 +1318,9 @@ def get_reference_details(reference_doctype, reference_name, party_account_curre
return frappe._dict({ return frappe._dict({
"due_date": ref_doc.get("due_date"), "due_date": ref_doc.get("due_date"),
"total_amount": total_amount, "total_amount": flt(total_amount),
"outstanding_amount": outstanding_amount, "outstanding_amount": flt(outstanding_amount),
"exchange_rate": exchange_rate, "exchange_rate": flt(exchange_rate),
"bill_no": bill_no "bill_no": bill_no
}) })