Merge pull request #23572 from marination/payment-entry-list-view
fix: Check if list view standard filter exists in Payment Entry
This commit is contained in:
commit
04ddf24ffe
@ -1,6 +1,7 @@
|
|||||||
frappe.listview_settings['Payment Entry'] = {
|
frappe.listview_settings['Payment Entry'] = {
|
||||||
|
|
||||||
onload: function(listview) {
|
onload: function(listview) {
|
||||||
|
if (listview.page.fields_dict.party_type) {
|
||||||
listview.page.fields_dict.party_type.get_query = function() {
|
listview.page.fields_dict.party_type.get_query = function() {
|
||||||
return {
|
return {
|
||||||
"filters": {
|
"filters": {
|
||||||
@ -9,4 +10,5 @@ frappe.listview_settings['Payment Entry'] = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
Loading…
x
Reference in New Issue
Block a user