[kmymoney] [Bug 455171] New: Reports that include transactions in other currencies do not convert currencies to default, so totals are wrong

jlboz bugzilla_noreply at kde.org
Sun Jun 12 03:03:05 BST 2022


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

            Bug ID: 455171
           Summary: Reports that include transactions in other currencies
                    do not convert currencies to default, so totals are
                    wrong
           Product: kmymoney
           Version: 5.1.2
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: reports
          Assignee: kmymoney-devel at kde.org
          Reporter: KMyMoney at boz.33mail.com
  Target Milestone: ---

SUMMARY
Reports that include transactions in other currencies do not convert currencies
to default, so totals are wrong

***
My data include several currencies.  When I make a report such as 'Income and
Expenses for Year' in my default currency that includes any category where the
entries are in another currency, those entries are entered in the report
without conversion. So if the conversion rate should be 50:1 between the other
currency and the default, the number entered in the report for that category is
50 times what it should be and all the totals in the report that include that
number are wrong. 

In the report configuration there is an option 'Convert values to base
currency' but it makes no difference whether it is selected or not.

STEPS TO REPRODUCE
1. Open a data file that includes a lot of data of transactions in a number of
categories where some of the entries in some categories are in currencies other
than the default currency
2. Select a report such as Income and Expenses by Year
3. Find a category where some transactions in a particular year are not in the
default currency and note the total given in the report.
4. Compare that result with the total expected when the transactions are all
correctly converted to the default currency

OBSERVED RESULT
The total in the report is the result of adding up the numerical values of
transactions without any conversion. For example if the default currency is AUD
and a transaction is 500 AUD it appears in the report as '500', which is
correct. If a transaction is 25,000 RUB it appears in the report as '25,000'
which is wrong because it should be converted to '607' for the report when that
reflects the chosen rate of conversion. The number '25,000' in the report then
makes all the relevant totals in the report wrong.

EXPECTED RESULT
A report should convert all transactions to the default currency when that
option is selected.

SOFTWARE/OS VERSIONS
Windows: Edition        Windows 10 Pro
Version 21H2
Installed on    ‎2020-‎06-‎02
OS build        19044.1706
Experience      Windows Feature Experience Pack 120.2212.4170.0

macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.93
Qt Version: 5.15.2

ADDITIONAL INFORMATION
PLEASE NOTE  I raised this issue before as bug 426796 and it was treated as a
duplicate of bug 423870. This was an error. Bug 423870 appears to be a
different problem where transactions ARE converted to the default currency. The
problem here is that foreign currency transactions ARE NOT converted (no matter
how the report options are set) and all reports affected by this bug are wrong.
Bug 423870 is 'resolved/fixed' but the bug I describe in this report is not
fixed. It is the same now as it was.

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


More information about the KMyMoney-devel mailing list