mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
[get_query]to server side
This commit is contained in:
@@ -57,7 +57,6 @@ cur_frm.fields_dict['default_bom'].get_query = function(doc) {
|
||||
'is_active': 0
|
||||
}
|
||||
}
|
||||
// return 'SELECT DISTINCT `tabBOM`.`name` FROM `tabBOM` WHERE `tabBOM`.`item` = "' + doc.item_code + '" AND ifnull(`tabBOM`.`is_active`, 0) = 0 and `tabBOM`.docstatus != 2 AND `tabBOM`.%(key)s LIKE "%s" ORDER BY `tabBOM`.`name` LIMIT 50'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user