From 29a0b31ca675731c35c79370d393c7a20d5e3e96 Mon Sep 17 00:00:00 2001 From: Umair Sayed Date: Thu, 29 Sep 2016 16:25:04 +0530 Subject: [PATCH] Update sales_partner.js --- erpnext/setup/doctype/sales_partner/sales_partner.js | 6 ------ 1 file changed, 6 deletions(-) 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 } - } -}