[Kmymoney-devel] [Bug 295533] New: Balance column sums different currencies without converting on reports with unchecked "convert to base currency"

Tristan Grimaux info at tristangrimaux.com
Thu Mar 8 14:25:24 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=295533

            Bug ID: 295533
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: kmymoney-devel at kde.org
           Summary: Balance column sums different currencies without
                    converting on reports with unchecked "convert to base
                    currency"
    Classification: Unclassified
                OS: Linux
          Reporter: info at tristangrimaux.com
          Hardware: Other
            Status: UNCONFIRMED
         Component: general
           Product: kmymoney4

User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101
Firefox/10.0.2 Iceweasel/10.0.2
Build Identifier: 

When creating a report that should express accounts of different currencies in
their original values, transfers between them are messed in the balance column.


Reproducible: Always

Steps to Reproduce:
1. on a new file create 2 accounts with different currencies. I used dolllars
and south african dollars
2. on account "local" add 2 expenditures: 1000 yesterday and 2000 today.
3. on account "foreigner" add a deposit of 1000 for today
4. Now a transfer of 1000 from account "foreigner" to local for 1000. It's 132
dollars as of today
5. Now go to Reports and choose Transactions by account
6. Customize reports by unchecking "convert values to base currency"
Actual Results:  
Local
yesterday   Spent                               -1000               -1000
today         Transfer from foreigner    ZAR 999.94     ZAR -0.06
today         Spent                               -20000           -2,000.06
today         Closing Balance                                        -2,867.20

Foreigner
today        Deposit                                 ZAR 994.94    ZAR 994.94
today        Transfer to local                    ZAR -994.94   ZAR 0
today Closing balance                      0


Expected Results:  
Local
yesterday   Spent                               -1000               -1000
today         Transfer from foreigner    ZAR 1000.00     -867.20
today         Spent                               -20000           -2,867.20
today         Closing Balance                                        -2,867.20

Foreigner
today        Deposit                                 ZAR 1000.00    ZAR 1000.00
today        Transfer to local                    ZAR -1000.00   ZAR 0
today Closing balance                      0


On one line of the report balance column is expressed in foreign currency and
calculated in dollars. The next line expresses the balance in local currency
but i keeps calculating the numbers as if they where plain.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list