[minor] fixes contact field set query for opportunity

This commit is contained in:
mbauskar 2017-03-02 17:28:27 +05:30
parent 78a650062c
commit 91c6ffde86

View File

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