def make_fees(): for d in range(1, 10): random_fee = get_random("Fees", {"paid_amount": 0}) collect_fees( random_fee, frappe.db.get_value("Fees", random_fee, "outstanding_amount"))
def make_fees(): for d in range(1,10): random_fee = get_random("Fees", {"paid_amount": 0}) collect_fees(random_fee, frappe.db.get_value("Fees", random_fee, "outstanding_amount"))