[fixes] create module flow list
diff --git a/erpnext/public/build.json b/erpnext/public/build.json
index 340ebdb..6e746d7 100644
--- a/erpnext/public/build.json
+++ b/erpnext/public/build.json
@@ -32,5 +32,6 @@
 		"stock/dashboard/item_dashboard.html",
 		"stock/dashboard/item_dashboard_list.html",
 		"stock/dashboard/item_dashboard.js"
+		"public/js/module_flow.js"
 	]
 }
diff --git a/erpnext/public/js/module_flow.js b/erpnext/public/js/module_flow.js
new file mode 100644
index 0000000..3c07b59
--- /dev/null
+++ b/erpnext/public/js/module_flow.js
@@ -0,0 +1,28 @@
+// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
+// MIT License. See license.txt
+
+// for module flow
+
+
+frappe.module_flow =  {
+	"Selling": {
+		"Sales Order": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"],
+		"Quotation": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"]
+	},
+	"Accounts": {
+		"Sales Invoice": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"],
+		"Purchase Invoice": ["Supplier Quotation", "Purchase Order", "Purchase Receipt",
+			"Purchase Invoice", "Journal Entry"]
+	},
+	"Buying": {
+		"Purchase Order": ["Supplier Quotation", "Purchase Order", "Purchase Receipt",
+			"Purchase Invoice", "Journal Entry"],
+		"Supplier Quotation": ["Supplier Quotation", "Purchase Order", "Purchase Receipt",
+			"Purchase Invoice", "Journal Entry"]
+	},
+	"Stock": {
+		"Delivery Note": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"],
+		"Purchase Receipt": ["Supplier Quotation", "Purchase Order", "Purchase Receipt",
+			"Purchase Invoice", "Journal Entry"]
+	}
+}
\ No newline at end of file