From ff1ab2608869500fbd06871ea011489c95cba7e9 Mon Sep 17 00:00:00 2001 From: bohlian Date: Wed, 25 Nov 2015 16:06:20 +0800 Subject: [PATCH] Removed Warehouse Requirement for SerialNo Listing Removed the requirement that Warehouse has to be assigned for Serial Number to appear in the listing. --- erpnext/support/doctype/warranty_claim/warranty_claim.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/support/doctype/warranty_claim/warranty_claim.js b/erpnext/support/doctype/warranty_claim/warranty_claim.js index 9e1c83ef35..e33f9b29a3 100644 --- a/erpnext/support/doctype/warranty_claim/warranty_claim.js +++ b/erpnext/support/doctype/warranty_claim/warranty_claim.js @@ -50,8 +50,7 @@ cur_frm.fields_dict['contact_person'].get_query = function(doc, cdt, cdn) { cur_frm.fields_dict['serial_no'].get_query = function(doc, cdt, cdn) { var cond = []; var filter = [ - ['Serial No', 'docstatus', '!=', 2], - ['Serial No', 'warehouse', '=', ""] + ['Serial No', 'docstatus', '!=', 2] ]; if(doc.item_code) { cond = ['Serial No', 'item_code', '=', doc.item_code];