fix: syntax error

This commit is contained in:
Sahil Khan
2019-04-22 10:11:35 +05:30
parent a34f459065
commit d12ede8510

View File

@@ -9,7 +9,7 @@ def get_level():
activation_level = 0 activation_level = 0
sales_data = [] sales_data = []
doctypes = {"Item": 5, "Customer": 5, "Sales Order": 2, "Sales Invoice": 2, "Purchase Order": 2, "Employee": 3, "Lead": 3, "Quotation": 3 doctypes = {"Item": 5, "Customer": 5, "Sales Order": 2, "Sales Invoice": 2, "Purchase Order": 2, "Employee": 3, "Lead": 3, "Quotation": 3,
"Payment Entry": 2, "User": 5, "Student": 5, "Instructor": 5, "BOM": 3, "Journal Entry": 3, "Stock Entry": 3} "Payment Entry": 2, "User": 5, "Student": 5, "Instructor": 5, "BOM": 3, "Journal Entry": 3, "Stock Entry": 3}
for doctype, min_count in iteritems(doctypes): for doctype, min_count in iteritems(doctypes):
count = frappe.db.count(doctype) count = frappe.db.count(doctype)