-
-
Notifications
You must be signed in to change notification settings - Fork 313
Description
MMEX version:
- 1.5.21
- 1.6.0
- 1.6.1
- 1.6.2 Alpha
- 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 (not tested)
- Linux
Description of the bug
Recurring Transaction "VOID" expected to not be consider in cashflow.
example:
Reproduction
Is the bug reproducible?
- Always
- Randomly
- Happened only once
Reproduction steps:
as example here a file https://1drv.ms/u/s!AtPBR0zMvFhpjfxXOZmALjbz4HeE2w?e=QvTdJs
Step:
- Create Recurring void Transaction
- open Cashflow
- see that amount of recurring void transaction is consider
Expected result:
Void transaction does not alter the total for account
Actual result:
void transaction alter the total for account
Additional information
Issue is present for any type of transaction (deposit, withdrawal and transfert).
I suppose that this need to be done on "cashflow.cpp" in function mmReportCashFlow::trueAmount by checking if transaction isf of type VOID. Suppose (but not sure) after line 45 somethings like
if (trx.STATUS == Model_Checking::VOID_) return 0.0