[kmymoney] [Bug 502652] New: Import of stocks with a separate fee results in a calculation error

2025-04-10 Thread bugzilla_noreply--- via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=502652

Bug ID: 502652
   Summary: Import of stocks with a separate fee results in a
calculation error
Classification: Applications
   Product: kmymoney
   Version: unspecified
  Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: importer
  Assignee: kmymoney-devel@kde.org
  Reporter: k...@arrl.net
  Target Milestone: ---

SUMMARY
I imported a bunch of stock transactions but noticed the brokerage account
total was not correct. For any transaction where there was a fee associated
with the buy or sell the amount shown was incorrect. HOWEVER if I click on Edit
for the record, the amount changes to the correct amount.  In other cases
sometimes I need to subtract the fee from the total to calculate the share
price to four digits to arrive at the correct amount. In other cases I need to
add the fee to the total and divide by the number of shares to reach the
correct amount.

STEPS TO REPRODUCE
1. Import stock trades from a CSV file
2. Compare any transactions with a fee in addition to the trade
3. Notice the amount shown in the ledger is wrong. Click on edit the record and
the amount changes to the correct value.

OBSERVED RESULT
Record imports but total amount is wrong


EXPECTED RESULT
Import transactions and have totals be correct

SOFTWARE/OS VERSION
Windows: Windows 10 (I've also seen the same issue when running Kubuntu)
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 5+
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Some stocks have a tax in addition to a fee. Haven't seen any way to have this
captured during import so I manually add those records.

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

[kmymoney] [Bug 502652] Import of stock transactions with a separate fee results in a calculation error

2025-04-10 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=502652

Jack  changed:

   What|Removed |Added

Summary|Import of stocks with a |Import of stock
   |separate fee results in a   |transactions with a
   |calculation error   |separate fee results in a
   ||calculation error
 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Jack  ---
What version are you running?  What type of import are you using: ofx, qif,
csv?  If you are running 5.1.3, can you try a development version, just to be
sure it hasn't been fixed in the meantime?
I'm not aware of any recent changes in the import code, but it's certainly
possible fees are processed in the wrong order to get the right price per share
if you are starting with a total price for the transaction.
Can you provide a kmy and import file which reproduce the issue?  Note that if
the amount looks wrong, but gets corrected when you accept the transaction,
that's probably OK, but if you have to edit and save it, there may be something
to fix.

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

[kmymoney] [Bug 502604] New: All Reports include PRICE column

2025-04-10 Thread Mark Medoff via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=502604

Bug ID: 502604
   Summary: All Reports include PRICE column
Classification: Applications
   Product: kmymoney
   Version: git (master)
  Platform: Ubuntu
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: reports
  Assignee: kmymoney-devel@kde.org
  Reporter: markm10...@gmail.com
  Target Milestone: ---

SUMMARY
All reports in Master since a little after Master
kmymoney-master-4236-linux-gcc-x86_64.AppImage have an extra PRICE column on
all reports. Even non-investment reports have this field now and there is no
way to remove it.

STEPS TO REPRODUCE
1. Run any report
2. Output has a price field, even non-investment reports
3. 

OBSERVED RESULT
Output has a price field, even non-investment reports

EXPECTED RESULT
Only reports with "Price" selected in Rows/Columns tab for "Configure your
report" should display a price column.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Linux Mint 22.1
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

[kmymoney] [Bug 500902] Memo from 5.1.92 data not displaying in transaction reports

2025-04-10 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=500902

Thomas Baumgart  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/432858
   ||4181dcf36367cc49b33960900b7
   ||e7b1a25
   Version Fixed In||5.2

--- Comment #9 from Thomas Baumgart  ---
Git commit 4328584181dcf36367cc49b33960900b7e7b1a25 by Thomas Baumgart.
Committed on 08/04/2025 at 16:27.
Pushed by tbaumgart into branch 'master'.

Copy memo in unsplit transaction

This will bring back the functionality that is implemented in
previous releases of the project (5.1.x).
FIXED-IN: 5.2

M  +3-0kmymoney/mymoney/splitmodel.cpp
M  +33   -0kmymoney/views/newtransactioneditor.cpp

https://invent.kde.org/office/kmymoney/-/commit/4328584181dcf36367cc49b33960900b7e7b1a25

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