From 1c5c511d2ecee73ae70cc5c60796e6ebb1d2b661 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Tue, 5 Jul 2016 12:41:51 +0530 Subject: [PATCH] [fix] add payment entry in document flow --- erpnext/public/js/utils/document_flow.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/erpnext/public/js/utils/document_flow.js b/erpnext/public/js/utils/document_flow.js index eaad6f81ef..d453c68a28 100644 --- a/erpnext/public/js/utils/document_flow.js +++ b/erpnext/public/js/utils/document_flow.js @@ -5,23 +5,23 @@ $.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"] + "Sales Order": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Payment Entry"], + "Quotation": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Payment Entry"] }, "Accounts": { - "Sales Invoice": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"], + "Sales Invoice": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Payment Entry"], "Purchase Invoice": ["Supplier Quotation", "Purchase Order", "Purchase Receipt", - "Purchase Invoice", "Journal Entry"] + "Purchase Invoice", "Payment Entry"] }, "Buying": { "Purchase Order": ["Supplier Quotation", "Purchase Order", "Purchase Receipt", - "Purchase Invoice", "Journal Entry"], + "Purchase Invoice", "Payment Entry"], "Supplier Quotation": ["Supplier Quotation", "Purchase Order", "Purchase Receipt", - "Purchase Invoice", "Journal Entry"] + "Purchase Invoice", "Payment Entry"] }, "Stock": { - "Delivery Note": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Journal Entry"], + "Delivery Note": ["Quotation", "Sales Order", "Delivery Note", "Sales Invoice", "Payment Entry"], "Purchase Receipt": ["Supplier Quotation", "Purchase Order", "Purchase Receipt", - "Purchase Invoice", "Journal Entry"] + "Purchase Invoice", "Payment Entry"] } });