[kmymoney] [Bug 427054] New: Commission in other than base currency show incorrect amount

Berci bugzilla_noreply at kde.org
Mon Sep 28 01:47:57 BST 2020


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

            Bug ID: 427054
           Summary: Commission in other than base currency show incorrect
                    amount
           Product: kmymoney
           Version: 5.1.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: reports
          Assignee: kmymoney-devel at kde.org
          Reporter: tokes.berci at gmail.com
  Target Milestone: ---

SUMMARY
I paid commission in USD when bought some US stocks. My base currency and the
currency of the investment account is HUF.

In the reports (Transactions by Accounts and Transactions by Categories) the
commission showing incorrect amounts (e.g. 711927.31 HUF for $7.99 ->
89102.2916 HUF/USD).

When checking Commission category e.g. in Income and Expenses This Year report
or by double clicking it in the Categories view to open in Ledger view, the
correct amount shown (2389.90 HUF for $7.99 -> 299.1113 HUF/USD). Correct
amount can be calculated in Transactions by Accounts report too: total amount
in the "[Split Transaction]" line and the total price paid in "Transfer to:
Investments: Investment account: Stock" are correct so commission can be
calculated, though showing the wrong amount.

STEPS TO REPRODUCE
1. Book the investment transaction
2. Fill the correct amount or exchange rate in the popup window
3. Check Transactions... reports

OBSERVED RESULT
Amount of commission in base currency is wrong in Transactions reports of
Reports view, correct in Income and Expenses and Cash flow reports of Reports
view and also correct in Categories view (Ledger view).

EXPECTED RESULT
Reports show the same amount as one can see in Categories.

SOFTWARE/OS VERSIONS
Windows: Windows 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
I use the last stable build of KMYMoney for Windows 5.1-763. Other transactions
are calculated correctly in the reports too, like spending in EUR and HRK
during vacations.

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


More information about the KMyMoney-devel mailing list