mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
queries to server side
This commit is contained in:
@@ -110,7 +110,9 @@ cur_frm.fields_dict['production_item'].get_query = function(doc) {
|
||||
|
||||
cur_frm.fields_dict['project_name'].get_query = function(doc, dt, dn) {
|
||||
return{
|
||||
filters:['Project', 'status', 'not in', 'Completed, Cancelled']
|
||||
filters:[
|
||||
['Project', 'status', 'not in', 'Completed, Cancelled']
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user