fix: remove unwanted filter query
This commit is contained in:
parent
71e7254184
commit
8e79c48db8
@ -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: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user