[Kmymoney-devel] [Bug 274018] Consistency check fails on stocks: "The investment <> has no price set for the opening date <> Please enter a price on or before the opening date."

allan agander93 at gmail.com
Mon May 30 00:46:07 CEST 2011


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





--- Comment #11 from allan <agander93 gmail com>  2011-05-30 00:46:06 ---
(In reply to comment #10)
> I don't think it is really the dividend transaction that causes the need for a
> price.  If it doesn't have a price, it can't calculate the value of the
> account.  It doesn't make much sense to register a dividend without already
> owning some number of shares, even if you haven't actually registered the add
> or buy transaction yet.

That's absolutely logical and true.  However, I was reporting an observation
while in debug mode.  I saved a file and the consistency message popped up, and
there happened to be only that one transaction in the account - not a real-life
situation, I agree.

In actual fact, though, the message will come if there are no transactions
there.  What I'd done was create a new security, and, to avoid having to go
through the process again after the next build, I saved the file.  In the
meantime, though, I had manually entered a single dividend transaction to
explore the problem.  The message arose because no price had been entered, not
because a dividend had been entered which would not have a price!

What I previously said was over-condensed version of the situation, but still
true.  However, apologies....

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list