Multi Bank accounts: Cash, Transfers, balances (#63) - #77
Merged
Merged
Conversation
…n picker. Closes #64 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…picker Bank accounts: Cash, migrate history, transaction picker
Add a Django admin action that lets operators select multiple transactions and assign them to a single bank account. The action validates that all selected transactions belong to the same user and that their currency matches the bank account currency, matching the in-app transaction rules. Closes #65 Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ncy error Co-authored-by: Cursor <cursoragent@cursor.com>
raw_id_fields only accept numeric PKs, so pasting a username failed even when the user existed. Switch related FK fields to autocomplete and include the username in BankAccount string labels. Co-authored-by: Cursor <cursoragent@cursor.com>
#65 Admin bulk-assign transactions to bank account
Allow create/list/rename/delete of custom Bank accounts with locked currency, optional kind, and Opening balance that feeds Bank account balances while staying out of spending totals (#66). Co-authored-by: Cursor <cursoragent@cursor.com>
…pening-balance Bank accounts: manage accounts, Opening balance, balances
Redefine Available balance as the Display-converted sum of Bank account balances (today's rate for cross-currency). Total balance still applies open IOU adjustment. Co-authored-by: Cursor <cursoragent@cursor.com>
Add Transfer create/edit/delete between Bank accounts, with Currency conversion for cross-currency moves, and exclude Transfers from spending. Co-authored-by: Cursor <cursoragent@cursor.com>
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>
…ance-67 Bank accounts: Available balance as sum of Bank accounts (#67)
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>
Bank accounts: IOU open/repay Bank account picker (#69)
…fers-68 Co-authored-by: Cursor <cursoragent@cursor.com>
Bank accounts: in-app Transfers same- and cross-currency (#68)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
Closes #63
Made with Cursor