Merge pull request #1200 from anandpdoshi/hotfix-scheduler-errors
[patch] Email Digest
This commit is contained in:
commit
908f2dc0fd
@ -5,6 +5,8 @@ from __future__ import unicode_literals
|
|||||||
import webnotes
|
import webnotes
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
webnotes.reload_doc("setup", "doctype", "email_digest")
|
||||||
|
|
||||||
from webnotes.profile import get_system_managers
|
from webnotes.profile import get_system_managers
|
||||||
system_managers = get_system_managers(only_name=True)
|
system_managers = get_system_managers(only_name=True)
|
||||||
if not system_managers:
|
if not system_managers:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user