fix: Remove custom queries for customer

(cherry picked from commit 60ba25caf2)
This commit is contained in:
Deepesh Garg
2024-03-16 19:47:08 +05:30
committed by Mergify
parent e3336c603c
commit 313350534f
12 changed files with 9 additions and 128 deletions

View File

@@ -17,10 +17,6 @@ erpnext.LeadController = class LeadController extends frappe.ui.form.Controller
}
onload() {
this.frm.set_query("customer", function (doc, cdt, cdn) {
return { query: "erpnext.controllers.queries.customer_query" };
});
this.frm.set_query("lead_owner", function (doc, cdt, cdn) {
return { query: "frappe.core.doctype.user.user.user_query" };
});