From 420828a4165f50428e56171c0bc32b7ef454ff18 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 22 Jul 2013 15:57:56 +0530 Subject: [PATCH] [minor] [fix] parent item group query --- setup/doctype/item_group/item_group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/doctype/item_group/item_group.js b/setup/doctype/item_group/item_group.js index b642735215..f672e7a832 100644 --- a/setup/doctype/item_group/item_group.js +++ b/setup/doctype/item_group/item_group.js @@ -37,7 +37,7 @@ cur_frm.fields_dict['parent_item_group'].get_query = function(doc,cdt,cdn) { return{ filters:[ ['Item Group', 'is_group', '=', 'Yes'], - ['Item Group', 'naem', '!=', doc.item_group_name] + ['Item Group', 'name', '!=', doc.item_group_name] ] } } \ No newline at end of file