feat: auto assign badges

This commit is contained in:
Jannat Patel
2024-05-14 14:53:34 +05:30
parent 68a1d1e436
commit 753e62b441
11 changed files with 2747 additions and 594 deletions

View File

@@ -97,6 +97,11 @@ override_doctype_class = {
# Hook on document methods and events
doc_events = {
"*": {
"on_change": [
"lms.lms.doctype.lms_badge.lms_badge.process_badges",
]
},
"Discussion Reply": {"after_insert": "lms.lms.utils.handle_notifications"},
}
@@ -108,7 +113,7 @@ scheduler_events = {
]
}
fixtures = ["Custom Field", "Function", "Industry"]
fixtures = ["Custom Field", "Function", "Industry", "LMS Badge"]
# Testing
# -------