Item, Item Group and Partner Web Page generators moved from Shopping Cart to ERPNext
diff --git a/erpnext/templates/utils.py b/erpnext/templates/utils.py
index e98a5c0..7ba4a9d 100644
--- a/erpnext/templates/utils.py
+++ b/erpnext/templates/utils.py
@@ -7,10 +7,10 @@
@frappe.whitelist(allow_guest=True)
def send_message(subject="Website Query", message="", sender="", status="Open"):
from frappe.templates.pages.contact import send_message as website_send_message
-
+
if not website_send_message(subject, message, sender):
return
-
+
if subject=="Support":
# create support ticket
from erpnext.support.doctype.support_ticket.get_support_mails import add_support_communication
@@ -18,6 +18,6 @@
else:
# make lead / communication
from erpnext.selling.doctype.lead.get_leads import add_sales_communication
- add_sales_communication(subject or "Website Query", message, sender, sender,
+ add_sales_communication(subject or "Website Query", message, sender, sender,
mail=None, status=status)
-
\ No newline at end of file
+