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