mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
[hotfix] item search in production order
This commit is contained in:
@@ -250,7 +250,7 @@ cur_frm.fields_dict['production_item'].get_query = function(doc) {
|
|||||||
return {
|
return {
|
||||||
filters:[
|
filters:[
|
||||||
['Item', 'is_pro_applicable', '=', 1],
|
['Item', 'is_pro_applicable', '=', 1],
|
||||||
['Item', 'has_variants', '=', 0]
|
['Item', 'has_variants', '=', 0],
|
||||||
['Item', 'end_of_life', '>=', frappe.datetime.nowdate()]
|
['Item', 'end_of_life', '>=', frappe.datetime.nowdate()]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user