sale of stock - transaction posts incorrectly

Keith Bellairs keith at
Mon Apr 8 19:58:42 EDT 2013


I think I spoke too quickly. I thought I had fixed the account with that
simple change, but I cannot repeat the "solution". So as of now I am still
puzzling with it. I don't have source so I may get the 2.5 source and see
what is going on.

But I will have to finish my taxes first.


On Mon, Apr 8, 2013 at 6:52 PM, David Carlson <carlson.dl at>wrote:

>  On 4/8/2013 5:32 PM, Keith Bellairs wrote:
> I was obviously concerned about "lots" too. So I just hacked my xml file
> to delete the following slot from the account in question:
> <slot:key>lot-mgmt</slot:key>
> Getting rid of that flag seems to be all that is needed to resolve my
> problem. Don't remember how I got it set in the first place, but it is evil.
> KB
>  There may be an issue with your account structure.  If you go to your
>> buy transaction(s) for that security, did you get the funds from the
>> brokerage account that is the 'parent' of the security account?  If not,
>> you probably need to structure your account hierarchy (and your
>> transactions) similar to the description in the help manual.
>> If that is not the problem, you may have found an instance of a bug that
>> I have seen a few times but have not been able to reliably reproduce.
>> Sometimes a transaction of this type seems to be out of balance and
>> um-editable.  When I have seen this, I needed to change the transaction
>> number to something like the word 'Bad' then construct a new transaction
>> from scratch, being careful to avoid allowing gnucash to auto-enter any
>> part of the new transaction.  Then I delete the 'Bad' transaction.  I
>> think that once or twice I needed to actually build the new transaction
>> in a different account, then when it was close to being correct, change
>> the transaction to the correct account.  I do suspect that the issue is
>> somehow related to the 'Lots' feature.  I have studiously avoided that
>> feature since once trying it and finding something that I did not like.
>> Since then I have forgotten what it was that I didn't like.
>> David C
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at
> Keith,
> Thanks for the information.  I am not comfortable with editing XML.  Did
> you delete only that one line?
> David C

More information about the gnucash-devel mailing list