[kmymoney] [Bug 442622] New: Cannot enter new transactions in Investment account ledgers (price, shares, categories, not accepted)

Steve Revilak bugzilla_noreply at kde.org
Fri Sep 17 23:56:01 BST 2021


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

            Bug ID: 442622
           Summary: Cannot enter new transactions in Investment account
                    ledgers (price, shares, categories, not accepted)
           Product: kmymoney
           Version: 5.1.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: steve at srevilak.net
  Target Milestone: ---

Created attachment 141661
  --> https://bugs.kde.org/attachment.cgi?id=141661&action=edit
KMymoney file produced by the "steps to reproduce"

SUMMARY

I've observed this behavior in KMyMoney 5.1.1 (OpenSuSE RPMs) and 5.1.2 (built
from source).  The short description is that it's no longer possible to enter
transactions into investment account ledgers.  The "Price" and "Shares" fields
no longer allow one to enter data directly, and the category fields (Interest
and Fees) no longer accept focus.  Also, "Buy Shares" transactions do not
generate entries in the corresponding Brokerage account.


STEPS TO REPRODUCE

Sorry this section is a little long.  I'll outline the steps to create a new
kmymoney file, and reproduce the problem I'm seeing.

File > New
 - provide Name: Mr. Tester. Click Next
 - Select US Dollar as currency.  Click Next
 - Leave "I have a checking Account" checked.  Name of Account: My
   Checking Account.  Click Next
 - Select "Base-Simple" as Account Types.  Click Next.
 - Click Finished
 - Select XML as storage type
 - save as "my-kmymoney-file.kmy"

Institution > New Institution
 - name: My Financial Institution.  Click Ok.

Account > New Account
 - Institution: My Financial Institution.  Click Next
 - Account Name: My Investment Account.  Account Type: Investment.
   Click Next.
 - Check "Create Brokerage Account".  Click Next
 - Select "Asset" as parent account.  Click Next
 - Click Finish

Open the My Investment Account (Brokerage) Leger
 - Enter a deposit for $100, with category "Job", so the balance is $100.

Open the Investments View (left sidebar)
 - Select Account: My investment account
 - New Investment
 - Type of investment: Stock
 - Trading Symbol: TEST
 - Full Name: Test Stock
 - Click Next
 - Click Finish

Open the "My Investment Account" Ledger
 - Click new
 - Activity: Buy Shares
 - Security: Test Stock
 - Account: My Investment Account (Brokerage)
 - In the "Shares" field, type "10".
   - The shares field contains "1.00", and the zero I typed went into
     the memo field.
   - Use the calculator field to enter 10
 - In the Price per share field, attempt to enter 1.00
 - Save the transaction
 - Observe the triangular warning symbol in the transaction legder
   ("Transaction is missing a category assignment")
 - Edit the transaction.  Click in the "Fees" field.
   - Observe the cursor "jump" into the Memo field
 - Click in the "Interest" field.
   - Observe the cursor "jump" into the memo field
 - Click cancel

Open the "My Invest Account (Brokerage)" Ledger
 - Note that the "Buy Shares" action did not produce a corresponding
   "Buy" entry in the Brokerage account ledger.  The brokerage account
   still has an initial balance of $100.

I'll attach the kmymoney file created with the procedure above.


OBSERVED RESULT

 - values cannot be entered directly into the "Shares" or "Price" fields in
Investment account transactions
 - The Fees and Interest fields will not accept focus, when editing an
investment account transaction
 - "Buy Shares" does not produce a corresponding entry in the Brokerage account
ledger


EXPECTED RESULT

 - One should be able to type values into the "Shares" and "Price" fields when
entering or editing investment account transactions.
 - The Fees and Interest fields should accept focus, and allow selection of
configured categories
 - a new "Buy shares" transaction should generate a corresponding brokerage
account entry


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: OpenSUSE 15.3.  5.3.18-59.19-default.  
KDE Plasma Version: 5.18.6
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.7

ADDITIONAL INFORMATION

I'm able to build from source, and would be happy to test patches.

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


More information about the KMyMoney-devel mailing list