mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
step 0: install
This commit is contained in:
@@ -5,7 +5,7 @@ from __future__ import unicode_literals
|
||||
import webnotes
|
||||
from webnotes.utils import cstr, cint
|
||||
from webnotes.utils.email_lib.receive import POP3Mailbox
|
||||
from core.doctype.communication.communication import make
|
||||
from webnotes.core.doctype.communication.communication import make
|
||||
|
||||
class JobsMailbox(POP3Mailbox):
|
||||
def setup(self, args=None):
|
||||
|
||||
@@ -205,7 +205,7 @@ class DocType(DocListController):
|
||||
|
||||
def notify(self, args):
|
||||
args = webnotes._dict(args)
|
||||
from core.page.messages.messages import post
|
||||
from webnotes.core.page.messages.messages import post
|
||||
post({"txt": args.message, "contact": args.message_to, "subject": args.subject,
|
||||
"notify": cint(self.doc.follow_via_email)})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user