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

This commit is contained in:
Saqib 2021-07-09 14:36:13 +05:30 committed by GitHub
parent 95a15ed85d
commit 47ccfd6c9d
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({
"due_date": ref_doc.get("due_date"),
"total_amount": total_amount,
"outstanding_amount": outstanding_amount,
"exchange_rate": exchange_rate,
"total_amount": flt(total_amount),
"outstanding_amount": flt(outstanding_amount),
"exchange_rate": flt(exchange_rate),
"bill_no": bill_no
})