diff --git a/erpnext/setup/doctype/sales_partner/sales_partner.js b/erpnext/setup/doctype/sales_partner/sales_partner.js index cb66b7f9cb..143bf442d3 100644 --- a/erpnext/setup/doctype/sales_partner/sales_partner.js +++ b/erpnext/setup/doctype/sales_partner/sales_partner.js @@ -12,9 +12,3 @@ cur_frm.cscript.refresh = function(doc,dt,dn){ erpnext.utils.render_address_and_contact(cur_frm); } } - -cur_frm.fields_dict['targets'].grid.get_field("item_group").get_query = function(doc, dt, dn) { - return{ - filters:{ 'is_group': 0 } - } -}