step 0: install
diff --git a/erpnext/startup/bean_handlers.py b/erpnext/startup/bean_handlers.py
index 06d2734..679c3aa 100644
--- a/erpnext/startup/bean_handlers.py
+++ b/erpnext/startup/bean_handlers.py
@@ -2,7 +2,7 @@
# License: GNU General Public License v3. See license.txt
from home import update_feed
-from core.doctype.notification_count.notification_count import clear_doctype_notifications
+from webnotes.core.doctype.notification_count.notification_count import clear_doctype_notifications
from stock.doctype.material_request.material_request import update_completed_qty
def on_method(bean, method):
diff --git a/erpnext/startup/open_count.py b/erpnext/startup/open_count.py
index 38034e2..e561c03 100644
--- a/erpnext/startup/open_count.py
+++ b/erpnext/startup/open_count.py
@@ -41,7 +41,7 @@
def get_todays_events():
"""Returns a count of todays events in calendar"""
- from core.doctype.event.event import get_events
+ from webnotes.core.doctype.event.event import get_events
from webnotes.utils import nowdate
today = nowdate()
return len(get_events(today, today))
diff --git a/erpnext/startup/schedule_handlers.py b/erpnext/startup/schedule_handlers.py
index cdb0e5d..32987c4 100644
--- a/erpnext/startup/schedule_handlers.py
+++ b/erpnext/startup/schedule_handlers.py
@@ -27,11 +27,11 @@
def execute_daily():
# event reminders
- from core.doctype.event.event import send_event_digest
+ from webnotes.core.doctype.event.event import send_event_digest
run_fn(send_event_digest)
# clear daily event notifications
- from core.doctype.notification_count.notification_count import delete_notification_count_for
+ from webnotes.core.doctype.notification_count.notification_count import delete_notification_count_for
delete_notification_count_for("Event")
# email digest