On Apr 10, 2012, at 3:51 PM, m...@janno-kaiser.de wrote:
> Hi,
>
> I've run into an error using the python bindings:
>
> This is the code (changed a bit to make it easier to read):
>
> c = book.CustomerLookupByID(customerid)
> assert( isinstance(c, Customer) )
> CUR = c.GetCurrency()
> assert(
Hi,
I've run into an error using the python bindings:
This is the code (changed a bit to make it easier to read):
c = book.CustomerLookupByID(customerid)
assert( isinstance(c, Customer) )
CUR = c.GetCurrency()
assert( isinstance(CUR, GncCommodity) )
invoice = Invoice(
book=book,