Skip to content

Bug: Creating another transaction with empty destination leads to copied account from last transaction #390

Description

@LarsHaalck

Describe the bug
When creating a transaction with a defined destination account (for example "Expense Account 1") and then saving the transaction, the transaction window does not close and I usually use this window to create another transaction without going back to the main view (don't know if this is intended or not). When I fill in my details here and remove the destination account to track the default "cash wallet" (e.g, when I don't care about tracking that expense account), it is wrongly set to the destination account of the previous transaction, instead of "(cash)". Going back to the main view and creating the transaction from scratch works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Create a transaction with some already existing expense account
  2. Click Submit
  3. Create another transaction from the still opened view but remove the destination account
  4. Click submit
  5. See that the destination account has been copied from the first transaction

Expected behavior
I would expect the destination account of the second transaction to be the cash account.

Smartphone (please complete the following information):

  • Device: Google Pixel 7
  • OS: Android 15
  • Version: 0.22.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions