mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 02:44:52 +00:00
bom cleanup
This commit is contained in:
@@ -119,7 +119,7 @@ erpnext.queries.bom = function(opts) {
|
||||
return 'SELECT tabBOM.name, tabBOM.item \
|
||||
FROM tabBOM \
|
||||
WHERE tabBOM.docstatus=1 \
|
||||
AND tabBOM.is_active="Yes" \
|
||||
AND tabBOM.is_active=1 \
|
||||
AND tabBOM.%(key)s LIKE "%s" ' + (conditions.length
|
||||
? (" AND " + conditions.join(" AND "))
|
||||
: "")
|
||||
|
||||
Reference in New Issue
Block a user