[fix] [minor] project query for purchase receipt

This commit is contained in:
Anand Doshi 2013-08-14 18:55:50 +05:30
parent 3d1ecf5254
commit 3cb7cf497b

View File

@ -127,7 +127,7 @@ cur_frm.cscript.new_contact = function(){
cur_frm.fields_dict['purchase_receipt_details'].grid.get_field('project_name').get_query = function(doc, cdt, cdn) { cur_frm.fields_dict['purchase_receipt_details'].grid.get_field('project_name').get_query = function(doc, cdt, cdn) {
return{ return{
filters:[ filters:[
['project', 'status', 'not in', 'Completed, Cancelled'] ['Project', 'status', 'not in', 'Completed, Cancelled']
] ]
} }
} }