Add priority reordering function for BRR#367
Conversation
…nality - Enhanced the bank reconciliation rule list view to include a "Reorder by Priority" button. - Implemented backend methods to retrieve bank accounts with rules and reorder rules based on user-defined priorities. - Updated the bank reconciliation rule model to support priority management. - Added tests for the new reordering feature to ensure correct functionality.
Greptile SummaryThis PR adds a drag-and-drop "Reorder by Priority" dialog to the Bank Reconciliation Rule list view, backed by three new whitelisted Python endpoints and a two-pass
Confidence Score: 5/5Safe to merge; the core reorder logic is correct and well-tested, with only minor UX gaps in the JS error-handling paths. The backend validation, permission checks, and two-pass write strategy are solid. Both test cases cover the happy path for draft and submitted rules. The JS issues affect UX feedback only and cannot corrupt data or leave records in a bad state. banking/klarna_kosma_integration/doctype/bank_reconciliation_rule/bank_reconciliation_rule_list.js — the outer callback and event-listener binding are worth a second look before shipping. Important Files Changed
|
Depends on #365, as it introduced the allow_on_submit of the priority.