fix: source doctype name during install

This commit is contained in:
Jannat Patel
2023-10-26 18:09:05 +05:30
parent bb23b78a4f
commit cb6013a7a6

View File

@@ -191,7 +191,7 @@ def create_batch_source():
]
for source in sources:
if not frappe.db.exists("LMS Batch Source", source):
doc = frappe.new_doc("LMS Batch Source")
if not frappe.db.exists("LMS Source", source):
doc = frappe.new_doc("LMS Source")
doc.source = source
doc.save()