fix(py3): Convert to float before comparison
diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index 23849c2..2ce6d21 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -1132,7 +1132,7 @@
 
 		child_item.qty = flt(d.get("qty"))
 
-		if child_item.billed_amt > (flt(d.get("rate")) * flt(d.get("qty"))):
+		if flt(child_item.billed_amt) > (flt(d.get("rate")) * flt(d.get("qty"))):
 			frappe.throw(_("Row #{0}: Cannot set Rate if amount is greater than billed amount for Item {1}.")
 						 .format(child_item.idx, child_item.item_code))
 		else: