feat: badges

This commit is contained in:
Jannat Patel
2024-04-30 19:25:07 +05:30
parent 0f64da69c0
commit 7355be2a8b
16 changed files with 453 additions and 2 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"},
}