fix: syntax error
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user