Merge pull request #7750 from KanchanChauhan/territory-filter-opportunity

[Minor] Is group filter removed from Territory in Opportunity
This commit is contained in:
Nabin Hait 2017-02-15 17:41:31 +05:30 committed by GitHub
commit b8624efe3a

View File

@ -101,8 +101,7 @@ erpnext.crm.Opportunity = frappe.ui.form.Controller.extend({
$.each([["lead", "lead"],
["customer", "customer"],
["contact_person", "customer_filter"],
["territory", "not_a_group_filter"]], function(i, opts) {
["contact_person", "customer_filter"]], function(i, opts) {
me.frm.set_query(opts[0], erpnext.queries[opts[1]]);
});
},