mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
fix(py3): Explicitly convert to float for comparison
This commit is contained in:
@@ -120,7 +120,7 @@ class PurchaseReceipt(BuyingController):
|
||||
self.company, self.base_grand_total)
|
||||
|
||||
self.update_prevdoc_status()
|
||||
if self.per_billed < 100:
|
||||
if flt(self.per_billed) < 100:
|
||||
self.update_billing_status()
|
||||
else:
|
||||
self.status = "Completed"
|
||||
|
||||
Reference in New Issue
Block a user