mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-15 18:01:41 +00:00
[fix] Serial No query in Warranty Claim
This commit is contained in:
@@ -51,7 +51,7 @@ cur_frm.fields_dict['serial_no'].get_query = function(doc, cdt, cdn) {
|
||||
var cond = [];
|
||||
var filter = [
|
||||
['Serial No', 'docstatus', '!=', 2],
|
||||
['Serial No', 'status', '=', "Delivered"]
|
||||
['Serial No', 'warehouse', '=', ""]
|
||||
];
|
||||
if(doc.item_code) {
|
||||
cond = ['Serial No', 'item_code', '=', doc.item_code];
|
||||
|
||||
Reference in New Issue
Block a user