Skip to content

Cash Flow Report for Specific Accounts treats transfers in reverse #7157

@KenK401

Description

@KenK401

MMEX version:

  • 1.7.0
  • 1.8.0
  • 1.8.1
  • 1.8.2
  • 1.9.0
  • Other (please specify)

Note: bug reporters are expected to have verified the bug still exists
either in the last stable version of MMEX or on updated development code
(master branch).

Operating System:

  • Windows
  • Mac OSX
  • Linux

Description of the bug

Cash Flow Report for Specific Accounts treats scheduled transfer transactions as a credit to the "from" account and a debit to the "to" account. It should be the other way round.

Reproduction

Is the bug reproducible?

  • Always
  • Randomly
  • Happened only once

Reproduction steps:

Create a Checking account with a positive balance, and a Credit Card account with a negative balance
Create a future Scheduled Transaction to transfer from the Checking account to the Credit Card
Use Cash Flow Report - Daily - Specific Accounts, and select one of the accounts

Expected result:
The Checking account balance should decrease for each transfer, the Credit card balance should increase (get less negative)

Actual result:
The Checking account balance increases for each transfer, the Credit card balance decreases (gets more negative)

Additional information

v1.8.1 and earlier versions handled this properly.

If you have a backtrace for a crash or a warning, paste it here.

Metadata

Metadata

Assignees

Labels

bugfixedgood first issuegood issue for first-time contributors - please fix me ASAP

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions