Re: [kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Thomas Baumgart via KMyMoney-devel
On Sonntag, 21. August 2022 16:28:46 CEST Jack via KMyMoney-devel wrote:

> Given the differences between 5.1 and master, especially in the new 
> ledger and related code, there will likely be an increasing number of 
> such commits.  Is there any (even very approximate) estimate of when the 
> code in master will be released?

I just got a note about a very strange behavior (which I cannot duplicate
nor explain). I am in contact with the user to figure out what the problem
is/could be.

I am using master for quite some time and am just about to commit the
update XML reader code which uses the QXmlStreamReader (the current way is
deprecated in Qt6). 

Next up is the XML writer rewrite. Then we are getting closer to an
alpha release. Nothing though, we should distribute to distros for
end user usage.

Hope that helps.

> On 8/21/22 06:29, Thomas Baumgart via KMyMoney-devel wrote:
> > https://bugs.kde.org/show_bug.cgi?id=456472
> >
> > --- Comment #10 from Thomas Baumgart  ---
> > Git commit 78f3d513035344ac80de5fc22b8115e35f947fcc by Thomas Baumgart.
> > Committed on 21/08/2022 at 10:29.
> > Pushed by tbaumgart into branch 'master'.
> >
> > Allow entering interest on investment buy transaction
> >
> > Note: this change cannot simply be cherry-picked onto the 5.1 branch.
> > One has to backport it manually. Volunteers welcome.
> >
> > M  +21   -0kmymoney/views/investactivities.cpp
> > M  +10   -3kmymoney/views/investactivities.h
> >
> > https://invent.kde.org/office/kmymoney/commit/78f3d513035344ac80de5fc22b8115e35f947fcc
> 
> 

-- 

Regards

Thomas Baumgart

-
'Software is like sex: it's better when it's free' (Linus Torvalds)
-


signature.asc
Description: This is a digitally signed message part.


Re: [kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Jack via KMyMoney-devel
Given the differences between 5.1 and master, especially in the new 
ledger and related code, there will likely be an increasing number of 
such commits.  Is there any (even very approximate) estimate of when the 
code in master will be released?


Jack

On 8/21/22 06:29, Thomas Baumgart via KMyMoney-devel wrote:

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

--- Comment #10 from Thomas Baumgart  ---
Git commit 78f3d513035344ac80de5fc22b8115e35f947fcc by Thomas Baumgart.
Committed on 21/08/2022 at 10:29.
Pushed by tbaumgart into branch 'master'.

Allow entering interest on investment buy transaction

Note: this change cannot simply be cherry-picked onto the 5.1 branch.
One has to backport it manually. Volunteers welcome.

M  +21   -0kmymoney/views/investactivities.cpp
M  +10   -3kmymoney/views/investactivities.h

https://invent.kde.org/office/kmymoney/commit/78f3d513035344ac80de5fc22b8115e35f947fcc


[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #10 from Thomas Baumgart  ---
Git commit 78f3d513035344ac80de5fc22b8115e35f947fcc by Thomas Baumgart.
Committed on 21/08/2022 at 10:29.
Pushed by tbaumgart into branch 'master'.

Allow entering interest on investment buy transaction

Note: this change cannot simply be cherry-picked onto the 5.1 branch.
One has to backport it manually. Volunteers welcome.

M  +21   -0kmymoney/views/investactivities.cpp
M  +10   -3kmymoney/views/investactivities.h

https://invent.kde.org/office/kmymoney/commit/78f3d513035344ac80de5fc22b8115e35f947fcc

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Ian Neal via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #9 from Ian Neal  ---
As you will find only income categories for the Interest field if selling
early.
I think I worked around the issue by having the bond in a fake trading currency
with the exchange rate usually being 1:1 but changing it for discounted
purchases.

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Zoltan Puskas via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

Zoltan Puskas  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #8 from Zoltan Puskas  ---
No, as the application will only offer expense type categories in the fees
field, and does not allow for income type categories.

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Ian Neal via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

Ian Neal  changed:

   What|Removed |Added

 CC||iann_bugzi...@blueyonder.co
   ||.uk

--- Comment #7 from Ian Neal  ---
Can you not use a negative amount in the Fee field when adding the discounted
shares?

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-21 Thread Zoltan Puskas via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #6 from Zoltan Puskas  ---
(In reply to Jack from comment #4)
> I still wonder why you would add the interest at buy time instead of at sell
> time.  If you sell before maturity, I assume you wont get the full interest.
> (Even if you always keep the bonds until maturity, KMM should also support
> any reasonable use case.)
> It would certainly be possible to allow interest income on a purchase, but
> it still makes more sense to me to do either as a separate interest/dividend
> transaction or as part of the sell transaction.

This was the only way I was able to assign earned interest into a category.
Using the interest field at sell/redemption time does not work in this case. 

Example of current KMyMoney workflow:
- Buy zero coupon bond on date T for $998 price/share, which is it's discount
price, but in reality it has has a face value of $1000. 
- Wait till maturity at T+10, at which point it gets redeemed for $1000
price/share (out of which $2 is my interest).

In this case KMyMoney will treat the bond like it would a stock and the
earnings are considered as capital gains (which I can only obtain via "reports"
tab). If I add a value into the "Interest" field (say the same $2) then the
total amount of the transaction will become $1002, which is incorrect. There is
no way for me to signify the amount of interest in this case. Keeping the
price/share at $998 is also not correct as it gets redeemed at $1000.

So the reason for me to enter the interest at purchase time was because this
way I could reconcile the transaction in earlier versions of KMymoney, like so:
- Buy zero coupon bond on date T for $1000 price/share, which is the face
value. However also add an interest of $2, which lowered the amount of the
final transaction to $998, making it representing the correct discounted price
hitting the brokerage account at the time of the purchase.
- Wait till maturity at T+10, at which point it gets redeemed for $1000
price/share, no additional field needed to be set.

If I had to sell the investment before maturity, I would typically add a "Fee"
category which would reduce due to premature redemption (though I think
"Interest" field value with a negative value would also work for this).

I hope this clarifies what I'm trying to achieve. The reason I kept doing it
like this because interest and capital gains have different tax implications
and using the interest category made it easy to track this.

For what it's worth, I'm open to any solutions that allows me to treat income
from bonds and stocks differently, however so far I've not found anything
better.

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-20 Thread Bug Janitor Service via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #5 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-06 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #4 from Jack  ---
I still wonder why you would add the interest at buy time instead of at sell
time.  If you sell before maturity, I assume you wont get the full interest. 
(Even if you always keep the bonds until maturity, KMM should also support any
reasonable use case.)
It would certainly be possible to allow interest income on a purchase, but it
still makes more sense to me to do either as a separate interest/dividend
transaction or as part of the sell transaction.

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-08-04 Thread Bug Janitor Service via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #3 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-07-20 Thread Zoltan Puskas via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

--- Comment #2 from Zoltan Puskas  ---
I'm not sure which version it worked with, it was a long time ago (I've been
using KMyMoney for 10+ years now).

I use this entry method when buying zero-coupon bonds, where you buy the bond
below face value and when it expires you get the actual nominal value. Since
this is considered interest income and not capital gains, I use this method to
account for it in the interest income category (as I tend to keep them till
maturity), since KMyMoney lacks facilities to register this type of investment
otherwise.

I'm aware of reports, but they are really suboptimal and hard to create custom
ones. Also should I close an investment (i.e. a bond) because they cannot be
bought any more, the reports won't show them at all, while in the investments
category the ledgers remain and it's easy to look at. This also helps
categorize different incomes better.

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

[kmymoney] [Bug 456472] Interest field dropped on buy transactions for brokerage accounts

2022-07-08 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=456472

Jack  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Jack  ---
I don't know if that is an intentional limit of the program or not, but under
what conditions would you be receiving interest or dividends as part of a buy
shares transaction?  Do you know what version this DID work with, as you say
you have such transactions?  Are those also buy or of any other type?

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