Bug 443914 - Fee not substracted from value when importing csv
Summary: Fee not substracted from value when importing csv
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: importer (show other bugs)
Version: 5.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 21:17 UTC by Ravi S Ghosh
Modified: 2021-10-17 21:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot that shows difference in total in the ledger vs edit transaction mode (194.83 KB, image/png)
2021-10-17 21:17 UTC, Ravi S Ghosh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi S Ghosh 2021-10-17 21:17:55 UTC
Created attachment 142540 [details]
Screenshot that shows difference in total in the ledger vs edit transaction mode

SUMMARY


STEPS TO REPRODUCE
1. Build an investment CSV for import with details including Security, price, quantity, fee, etc.  
2. Import investment purchase/sale from CSV.
3. Go to ledger of the account in which the CSV was imported.

OBSERVED RESULT
1. Value column of the transaction shows price x quantity, doesn't substract fee from the total value.
2. Click "Edit"
3. Notice that now the "total" in the edit mode shows the corrected number, i.e., price x quantity - fee.
4. Save.
5. Now the value column in the ledger shows the corrected number. 


EXPECTED RESULT
1. Upon import of investment CSV, the value / total amount should incorporate fee as well.
2. The user need not edit each transaction and save again to fix the fee issue.

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

ADDITIONAL INFORMATION