I called a event by hooks file.
this is ok.
doc_events = {
"*": {
"on_update": "photography.photography.doctype.sms_alert.sms_alert.check_sms_alert",
"validate": "photography.photography.doctype.sms_alert.sms_alert.check_sms_alert"
}
}
But I need call method for all event, I try below but not work.
doc_events = {
"*": {
"*": "photography.photography.doctype.sms_alert.sms_alert.check_sms_alert"
}
}
If anyone know how to call a method for all DocType in all events, please help me.