Why are Sell actions stored as Buy?

Thomas Baumgart thb at net-bembel.de
Mon Jan 29 12:09:15 UTC 2018


Mark,

On Sonntag, 28. Januar 2018 14:37:45 CET Mark Jones wrote:

> Hi KMyMoney devs,
> 
> I've been studying the code base to gain a better understanding of the
> KMyMoney model so I can contribute a fix for bug #378377 (Allow investment
> accounts to include cash). I keep coming across code that flips a Sell
> action into a Buy action on storage (and vice versa on loading) and I don't
> understand why this code is required.

Cool to read/see you are working on this feature. Can you point us to where we 
can see the code you refer to (preferably on master or 5.0)?

> I added back the SellShares and RemoveShares actions in my local repository
> (for file storage only) and all appears normal. So what else did I break? :)

Where is my chrystal ball? :)


-- 

Regards

Thomas Baumgart

https://www.telegram.org/       Telegram, the better WhatsApp
-------------------------------------------------------------
Windows is not the answer. It's the question. The answer is no!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 846 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20180129/db9dbe5b/attachment.sig>


More information about the KMyMoney-devel mailing list