shopping cart fix
diff --git a/erpnext/templates/pages/invoices.py b/erpnext/templates/pages/invoices.py
index 98c5140..87aff21 100644
--- a/erpnext/templates/pages/invoices.py
+++ b/erpnext/templates/pages/invoices.py
@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe
-from shopping_cart.templates.utils import get_currency_context
+from erpnext.templates.utils import get_currency_context
no_cache = 1
no_sitemap = 1
@@ -12,7 +12,7 @@
invoices_context = get_currency_context()
invoices_context.update({
"title": "Invoices",
- "method": "shopping_cart.templates.pages.invoices.get_invoices",
+ "method": "erpnext.templates.pages.invoices.get_invoices",
"icon": "icon-file-text",
"empty_list_message": "No Invoices Found",
"page": "invoice"
@@ -21,8 +21,8 @@
@frappe.whitelist()
def get_invoices(start=0):
- from shopping_cart.templates.utils import get_transaction_list
- from shopping_cart.templates.pages.invoice import modify_status
+ from erpnext.templates.utils import get_transaction_list
+ from erpnext.templates.pages.invoice import modify_status
invoices = get_transaction_list("Sales Invoice", start, ["outstanding_amount"])
for d in invoices:
modify_status(d)