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:
rohitwaghchaure 2020-10-10 11:09:31 +05:30 committed by GitHub
commit 04ddf24ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
frappe.listview_settings['Payment Entry'] = {
onload: function(listview) {
if (listview.page.fields_dict.party_type) {
listview.page.fields_dict.party_type.get_query = function() {
return {
"filters": {
@ -9,4 +10,5 @@ frappe.listview_settings['Payment Entry'] = {
};
};
}
}
};