Browse Source

Merge pull request #4369 from bohlian/develop

Removed Warehouse Requirement for SerialNo Listing
develop
Anand Doshi 9 years ago
parent
commit
699d9be4b7
  1. 3
      erpnext/support/doctype/warranty_claim/warranty_claim.js

3
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];

Loading…
Cancel
Save