Python bindings, Transactions, warnings and crashes

Daniele Varrazzo daniele.varrazzo at gmail.com
Tue Aug 3 04:54:06 EDT 2010


On Mon, Aug 2, 2010 at 8:12 PM, Mark Jenkins <mark at parit.ca> wrote:
> Daniele Varrazzo :

>> Is there a way to avoid the creation of the imbalance accounts too?

> So, if you apply the patch I just (re-)submitted, and first use
> Transaction.BeginEdit() (see the example in the patch I submitted), you
> can check to see if your transaction is imbalanced using
> Transaction.GetImbalance() before finalizing with Transaction.CommitEdit().

Very good, thank you very much. I will apply the patch and test with it.

-- Daniele


More information about the gnucash-devel mailing list