Skip to content

Bank accounts: IOU open/repay Bank account picker (#69) - #76

Merged
petkov93 merged 4 commits into
feat/multi-bank-accountsfrom
feat/bank-accounts-iou-picker-69
Jul 26, 2026
Merged

petkov93 merged 4 commits into
feat/multi-bank-accountsfrom
feat/bank-accounts-iou-picker-69

Conversation

@petkov93

@petkov93 petkov93 commented Jul 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Lend, borrow, and repay flows include a Bank account picker that defaults to Cash
  • Opening and repayment cash legs are assigned to the chosen Bank account (currency must match)
  • IOU-linked transactions remain excluded from Spending statistics / Spending and income totals

Test plan

  • Open lend/borrow form: Bank account picker present and defaults to Cash
  • Record lend/borrow against a non-Cash Bank account; opening transaction lands on that pot
  • Record repayment against a chosen Bank account; repayment transaction lands on that pot
  • Mismatched currency + Bank account is rejected
  • Dashboard spending pills still exclude IOU-linked amounts
  • manage.py test financetracker.tests.test_services_iou financetracker.tests.test_views_iou

Made with Cursor

petkov93 and others added 4 commits July 26, 2026 02:10
Let users choose which Bank account lend/borrow openings and repayments
hit (default Cash). Currency must match the Bank account currency.

Co-authored-by: Cursor <cursoragent@cursor.com>
create_receivable now requires Transaction currency to match the Bank
account currency; these fixtures used EUR against default CZK Cash.

Co-authored-by: Cursor <cursoragent@cursor.com>
Merge kept create_bank_account from services and dropped
ensure_cash_bank_account; view tests need the Cash helper, and
create_bank_account stays on the factory.

Co-authored-by: Cursor <cursoragent@cursor.com>
@petkov93
petkov93 merged commit e83f268 into feat/multi-bank-accounts Jul 26, 2026
7 checks passed
@petkov93
petkov93 deleted the feat/bank-accounts-iou-picker-69 branch July 26, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant