Beispiel #1
0
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"))
Beispiel #2
0
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"))