-
Notifications
You must be signed in to change notification settings - Fork 540
Description
Originally, I opened this ticket for an export error of QIF files. After further analysis, I found out that the data in the program is stored incorrectly in some situations. Here is the description of the error.
(Similar tickets are #723 and #726)
Steps to reproduce the behaviour
-
Set "Default Transaction Type" to "CREDIT" (under "Settings" > "Transactions" > "Default Transaction Type")
-
Create new transaction from Account "Assets:Current Assets:Cash in Wallet"
Description = "Test 1"
Amount = "0.01"
Direction "Spend" (set automatically)
Account "Expenses:Auto" -
Save transaction
-
Check the total amount for Account "Cash in Wallet" = -0.01 (🆗)
-
Create new transaction from Account "Assets:Current Assets:Cash in Wallet"
Description = "Test 2"
Amount = "0.02"
Direction "Spend" (set automatically)
Account "Assets:Current Assets:Saving Account" -
Save transaction
-
Now you see two transactions in Account "Cash in Wallet": -0.02€ and -0.01€.
-
Check the total amount for Account "Cash in Wallet" = -0.03€ (🆗)
-
Now change the Account in the transaction "Test 2"
Change Account: "Assets:Current Assets:Cash in Wallet" => "Expenses:Auto" -
Save transaction
-
You still see two transactions in Account "Cash in Wallet": -0.02€ and -0.01€. (🆗)
-
If you check the total amount for Account "Cash in Wallet", you will see +0.01€! (✘).
Export transactions to QIF or XML
When exporting the transactions as QIF or XML file, you can see that the data was stored incorrectly:
See row No. 15:
The transaction was stored with a double minus. See row No. 1495 und 1496.
Here are the files:
QIF and XML Files.zip
Software specifications
- GnuCash Android version: 2.2.1
- System Android version: 6.0.1 (german)