fix: Party Type filter in payment entry list view (#21542)

This commit is contained in:
Deepesh Garg
2020-05-01 15:01:04 +05:30
committed by GitHub
parent 438e0f5d49
commit db6953dc78

View File

@@ -0,0 +1,12 @@
frappe.listview_settings['Payment Entry'] = {
onload: function(listview) {
listview.page.fields_dict.party_type.get_query = function() {
return {
"filters": {
"name": ["in", Object.keys(frappe.boot.party_account_types)],
}
};
};
}
};