From 9a83bf5458b7d023270b04e8cf238a6a64001256 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Fri, 26 Oct 2018 02:25:58 +0530 Subject: [PATCH] Remove getFilters --- models/doctype/Account/Account.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/models/doctype/Account/Account.js b/models/doctype/Account/Account.js index 908f6e4f..38b247ef 100644 --- a/models/doctype/Account/Account.js +++ b/models/doctype/Account/Account.js @@ -20,13 +20,7 @@ module.exports = { "fieldname": "parentAccount", "label": "Parent Account", "fieldtype": "Link", - "target": "Account", - getFilters: (query, control) => { - return { - keywords: ["like", query], - name: ["!=", control.doc.name] - } - } + "target": "Account" }, { "fieldname": "rootType",