diff --git a/stock/doctype/purchase_receipt/purchase_receipt.js b/stock/doctype/purchase_receipt/purchase_receipt.js index bdf50ee669..d0e58dfe60 100644 --- a/stock/doctype/purchase_receipt/purchase_receipt.js +++ b/stock/doctype/purchase_receipt/purchase_receipt.js @@ -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) { return{ filters:[ - ['project', 'status', 'not in', 'Completed, Cancelled'] + ['Project', 'status', 'not in', 'Completed, Cancelled'] ] } }