feat: auto assign badges
This commit is contained in:
@@ -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
|
||||
# -------
|
||||
|
||||
Reference in New Issue
Block a user