From 007e87b8a5c890a37920e9f36eba9c0f1c9d9053 Mon Sep 17 00:00:00 2001 From: shreyas Date: Tue, 8 Mar 2016 19:01:50 +0530 Subject: [PATCH] [Minor] Whitespace fixes --- erpnext/stock/doctype/material_request/material_request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/material_request/material_request.js b/erpnext/stock/doctype/material_request/material_request.js index 6755f79948..e9a78e7394 100644 --- a/erpnext/stock/doctype/material_request/material_request.js +++ b/erpnext/stock/doctype/material_request/material_request.js @@ -52,7 +52,7 @@ erpnext.buying.MaterialRequestController = erpnext.buying.BuyingController.exten if(doc.material_request_type === "Purchase") cur_frm.add_custom_button(__("Supplier Quotation"), this.make_supplier_quotation, __("Make")); - + if(doc.material_request_type === "Manufacture" && doc.status === "Submitted") cur_frm.add_custom_button(__("Production Order"), this.raise_production_orders, __("Make"));