mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
fix: remove unwanted filter query
This commit is contained in:
@@ -3,14 +3,6 @@
|
|||||||
|
|
||||||
frappe.ui.form.on('Party Link', {
|
frappe.ui.form.on('Party Link', {
|
||||||
refresh: function(frm) {
|
refresh: function(frm) {
|
||||||
frm.set_query('party_type', 'links', () => {
|
|
||||||
return {
|
|
||||||
filters: {
|
|
||||||
name: ['in', party_types]
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
frm.set_query('primary_role', () => {
|
frm.set_query('primary_role', () => {
|
||||||
return {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
|
|||||||
Reference in New Issue
Block a user