Skip to content

Commit

Permalink
feat: Filter check run settings print format to only show enabled and…
Browse files Browse the repository at this point in the history
… Payment Entry formats (#186)
  • Loading branch information
fproldan authored Jan 8, 2024
1 parent a9e3e8b commit fc0f7d7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,13 @@ frappe.ui.form.on('Check Run Settings', {
},
}
})
frm.set_query('print_format', () => {
return {
filters: {
disabled: 0,
doc_type: 'Payment Entry',
},
}
})
},
})

0 comments on commit fc0f7d7

Please sign in to comment.