[cleanup] document flow
This commit is contained in:
28
erpnext/public/js/utils/document_flow.js
Normal file
28
erpnext/public/js/utils/document_flow.js
Normal file
@@ -0,0 +1,28 @@
|
||||
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
||||
// MIT License. See license.txt
|
||||
|
||||
// for module flow
|
||||
|
||||
frappe.provide('frappe.document_flow');
|
||||
$.extend(frappe.document_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"]
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user