[hotfix] item search in production order
diff --git a/erpnext/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js
index 60b4918..8202f43 100644
--- a/erpnext/manufacturing/doctype/production_order/production_order.js
+++ b/erpnext/manufacturing/doctype/production_order/production_order.js
@@ -250,7 +250,7 @@
return {
filters:[
['Item', 'is_pro_applicable', '=', 1],
- ['Item', 'has_variants', '=', 0]
+ ['Item', 'has_variants', '=', 0],
['Item', 'end_of_life', '>=', frappe.datetime.nowdate()]
]
}