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

            Bug ID: 515098
           Summary: Ledger status bar and FX editor show wrong currencies
                    and 1:1 rates in multi‑currency files (CLP base,
                    USD/CLF accounts)
    Classification: Applications
           Product: kmymoney
      Version First git (master)
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 188895
  --> https://bugs.kde.org/attachment.cgi?id=188895&action=edit
Balance showing CLP instead of USD

SUMMARY

With CLP as base currency and at least one foreign‑currency account (USD or
CLF), KMyMoney:

    Shows the correct numeric balance, but the wrong currency code (base
currency) in the ledger status bar.

    Shows 1:1 exchange rates in the “Exchange Rate/Price Editor” dialog, even
when the price table contains correct non‑1 rates.

The underlying amounts and stored prices are correct; only the
display/initialization logic is wrong. This  makes it impossible to safely work
with different currencies. This happens since 5.2.0

Version: 5.2.70‑07ef61afd (master) and 5.2.1 stable
I'm running up to date ArchLinux
Base currency: CLP
Account currency: USD (and CLF in a separate test)

STEPS TO REPRODUCE
1.    Create a USD account while base currency is CLP.
2.    Enter a few USD transactions; ledger balance is ~6,839.40 USD.
3.    Observe ledger status bar: shows “Balance: CLP 6,839.40” although account
currency is USD.
4.    Open Price Editor, ensure a CLP/CLF (or CLP/USD) rate is defined (non‑1).
5.    Select that price → Modify → Exchange Rate/Price Editor.

OBSERVED RESULT
 Observe “1 CLP = 1 CLF” and “1 CLF = 1 CLP” regardless of stored value.

EXPECTED RESULT
    Ledger status line uses the account currency (USD) for that account.
    FX/Price dialog initializes from the stored price, not 1:1.

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

Reply via email to