[Minor] Is group filter removed from Territory in Opportunity

This commit is contained in:
Kanchan Chauhan 2017-02-15 14:46:08 +05:30
parent 993358d5d7
commit 7118b5a2bd

View File

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