Bug 499642 - Investment not reported correctly when adding an not buying in
Summary: Investment not reported correctly when adding an not buying in
Status: RESOLVED DUPLICATE of bug 498033
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.1.3
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-07 14:17 UTC by fkupke
Modified: 2025-02-07 16:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.92
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkupke 2025-02-07 14:17:46 UTC
There may be an error in the function “Add investment:share”.
The number of shares that are entered are regarded as “value” during processing.
Example: I add 1000 shares of a stock whose value is $2.726. This is transferred correctly to the account book (securities account). The value is created with $2726.00.
If you now pull a report of the investment postings, the posting is displayed with the value “$1000.00”. The number of shares remains at “zero”.
There is probably an error in the evaluation for the report.



STEPS TO REPRODUCE
1. Add shares  (not buy) in an investion account
2. Make a Report of Investion
3. 

OBSERVED RESULT
The number of shares will be reported as value of  shares

EXPECTED RESULT
Reported should be the numer of shares with the correct value.


SOFTWARE/OS VERSIONS
Windows: 
ADDITIONAL INFORMATION
Comment 1 Ralf Habacker 2025-02-07 16:18:21 UTC

*** This bug has been marked as a duplicate of bug 498033 ***