From c37cb4d7c33b0274bf025cbd5aee82a4dde4764b Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 21 Mar 2012 15:35:41 +0530 Subject: [PATCH] Update erpnext/stock/doctype/stock_entry/stock_entry.js --- erpnext/stock/doctype/stock_entry/stock_entry.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/stock_entry/stock_entry.js b/erpnext/stock/doctype/stock_entry/stock_entry.js index 99eab91e82..3593fa0c3c 100644 --- a/erpnext/stock/doctype/stock_entry/stock_entry.js +++ b/erpnext/stock/doctype/stock_entry/stock_entry.js @@ -25,14 +25,14 @@ var cfn_set_fields = function(doc, cdt, cdn) { lst = ['supplier','supplier_name','supplier_address','customer','customer_name','customer_address']; hide_field(lst); - if (doc.purpose == 'Production Order' || doc.purpose == 'Others'){ + if (doc.purpose == 'Production Order' || doc.purpose == 'Other'){ unhide_field('Get Items'); hide_field(['from_warehouse', 'to_warehouse','purchase_receipt_no','delivery_note_no', 'sales_invoice_no','Warehouse HTML', 'transporter', 'is_excisable_goods', 'excisable_goods']); if (doc.purpose=='Production Order') unhide_field(['production_order', 'process']); doc.from_warehouse = ''; doc.to_warehosue = ''; - if (doc.process == 'Backflush' || doc.purpose == 'Others'){ + if (doc.process == 'Backflush' || doc.purpose == 'Other'){ unhide_field('fg_completed_qty'); } else{