[PATCH] python bindings example scripts

Geert Janssens janssens-geert at telenet.be
Wed Jun 9 09:26:40 EDT 2010


On Wednesday 9 June 2010, Mike Evans wrote:
> On Wednesday June 9 2010 03:34:47 Mark Jenkins wrote:
> > Mark Jenkins wrote:
> > > Attached is a patch that adds three example python bindings scripts.
> >
> > I also updated the make file to distribute these in the tarballs created
> > with make dist, but I didn't test out running make dist. If I had, I
> > would of noticed that there was extra spacing in one of my new file
> > listings.
> >
> > New patch attached.
> 
> Hi Mark
> As we have your attention, :), I've been looking at the python bindings and
> have been able to add a sale to my sales&bank accounts.  However the
>  business objects do not seem to be loaded/saved so when session.save() is
>  called all the business data, customers etc.,  are lost.  It doesn't
>  matter if I use the mysql or xml backend.  Any thoughts?
> 
> Mike E
> 
This is because noone created python bindings for the business objects so far. 
As a result, the python bindings will ignore anything business related, which 
results in the loss of data during save.

Not a good thing...

Geert


More information about the gnucash-devel mailing list