mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
install, web serving, session booting webnotes/wnframework#351
This commit is contained in:
@@ -67,11 +67,11 @@ def send_message(subject="Website Query", message="", sender="", status="Open"):
|
||||
|
||||
if subject=="Support":
|
||||
# create support ticket
|
||||
from support.doctype.support_ticket.get_support_mails import add_support_communication
|
||||
from erpnext.support.doctype.support_ticket.get_support_mails import add_support_communication
|
||||
add_support_communication(subject, message, sender, mail=None)
|
||||
else:
|
||||
# make lead / communication
|
||||
from selling.doctype.lead.get_leads import add_sales_communication
|
||||
from erpnext.selling.doctype.lead.get_leads import add_sales_communication
|
||||
add_sales_communication(subject or "Website Query", message, sender, sender,
|
||||
mail=None, status=status)
|
||||
|
||||
Reference in New Issue
Block a user