fix: syntax error

This commit is contained in:
Sahil Khan
2019-04-22 10:10:50 +05:30
parent 3889d0f0a0
commit cb4b86512d

View File

@@ -10,7 +10,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)