refactor: Update Bank Transaction `set_query` implemetation by Abdeali099 [frappe] PR#46625
From: https://github.com/frappe/erpnext/pull/46625
Date: 2025-04-01 12:12:37+05:30
- chore: formatting
- fix: add
Not Cancelledfilter forpayment_entryin Bank Transaction - refactor: move
payment_documentquery tosetup
Diagnostics
pre-commit failed for source commit: 257802aeda0eeb4b8ad6264ab477ad8f1e38a55a
[WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo.
erpnext/accounts/doctype/bank_transaction/bank_transaction.js
33:3 error 'set_bank_statement_filter' is not defined no-undef
✖ 1 problem (1 error, 0 warnings)
pre-commit failed for source commit: 85dd1dd4c7b1ff616401823470b9c011a4eb2383
erpnext/accounts/doctype/bank_transaction/bank_transaction.js
41:3 error 'set_bank_statement_filter' is not defined no-undef
✖ 1 problem (1 error, 0 warnings)
pre-commit failed for source commit: 4ae11d4384e98dcdce03dea772675bb856470670
erpnext/accounts/doctype/bank_transaction/bank_transaction.js
47:3 error 'set_bank_statement_filter' is not defined no-undef
✖ 1 problem (1 error, 0 warnings)
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-46625
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-46625
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease