Summary: | Investment Capital Gains by Account Report doesn't show transactions for today | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Michael Carpino <mfcarpino> |
Component: | bugtracker | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | spillaip |
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Capital Gains report calculation
test case Report output Screenshot |
Description
Michael Carpino
2018-04-12 18:27:52 UTC
Created attachment 131762 [details]
Capital Gains report calculation
Investment Capital Gains report indicates "Capital Gains" incorrectly. For example
Buy value: 252,138.53
Sell Value: 239,481.98
Capital Gain: -12656.55 (negative)
But the report indicates the Capital gain as 12,656.55 (positive). Please fix.
Can you provide a small sample file (not your private data) that shows the problem and attach it here? TIA. Created attachment 131769 [details]
test case
Added test case as requested
Changing the status Created attachment 131773 [details] Report output Thanks for the demo file. I don't see the problem here (master and 5.1 as of today). What environment do you have/use? Which locale settings do you use? Could it be, that this is related to bug #426406? (In reply to Thomas Baumgart from comment #5) > Created attachment 131773 [details] > Report output > > Thanks for the demo file. I don't see the problem here (master and 5.1 as of > today). What environment do you have/use? Which locale settings do you use? > Could it be, that this is related to bug #426406? Using Version 5.1.0-2a911c86b Not sure about the locale, using for Indian Rupee currency. Created attachment 131775 [details]
Screenshot
Screenshot
(In reply to Suresh PB from comment #6) > Using Version 5.1.0-2a911c86b That's the problem. The commit after 2a911c86b fixed the problem. See https://invent.kde.org/office/kmymoney/-/commit/322d51c2889eba0bbe8c7f362831d6de5e0e2026 and look for the parent of it. In case you can solve it by updating your version, please mark this bug as RESOLVED and a duplicate of 426406. TIA. (In reply to Thomas Baumgart from comment #8) > (In reply to Suresh PB from comment #6) > > > Using Version 5.1.0-2a911c86b > > That's the problem. The commit after 2a911c86b fixed the problem. See > https://invent.kde.org/office/kmymoney/-/commit/ > 322d51c2889eba0bbe8c7f362831d6de5e0e2026 and look for the parent of it. > > In case you can solve it by updating your version, please mark this bug as > RESOLVED and a duplicate of 426406. TIA. How to download the latest version Where did you get the version from in the first place? Looking at the version it seems to be a nightly build. Just get a fresh one. Or am I missing something? Oh, and BTW, I noticed that your problem does not have anything in common with the original problem (we call it a hijacked bug). So we better do not close it and mark it as duplicate. |