fix: remove unwanted filter query
diff --git a/erpnext/accounts/doctype/party_link/party_link.js b/erpnext/accounts/doctype/party_link/party_link.js
index 966a5f5..6da9291 100644
--- a/erpnext/accounts/doctype/party_link/party_link.js
+++ b/erpnext/accounts/doctype/party_link/party_link.js
@@ -3,14 +3,6 @@
 
 frappe.ui.form.on('Party Link', {
 	refresh: function(frm) {
-		frm.set_query('party_type', 'links', () => {
-			return {
-				filters: {
-					name: ['in', party_types]
-				}
-			};
-		});
-
 		frm.set_query('primary_role', () => {
 			return {
 				filters: {