r20695 - gnucash/trunk/src/optional/python-bindings - Improve python bindings: str_methods.py improved.

Christian Stimming cstim at code.gnucash.org
Fri May 27 02:39:28 EDT 2011


Author: cstim
Date: 2011-05-27 02:39:27 -0400 (Fri, 27 May 2011)
New Revision: 20695
Trac: http://svn.gnucash.org/trac/changeset/20695

Modified:
   gnucash/trunk/src/optional/python-bindings/example_scripts/str_methods.py
   gnucash/trunk/src/optional/python-bindings/function_class.py
   gnucash/trunk/src/optional/python-bindings/gnucash_business.py
Log:
Improve python bindings: str_methods.py improved.

Patch by Christoph Holtermann:

str_methods.py
- added a flagging system to change the output of the __str__ methods
- added unicode and str-methods to invoice and entry

function_class.py
- added modified add_method and add_classmethods to implement the previous

gnucash_business.py
- add methods_return_instance_lists for method Invoice.GetEntries



More information about the gnucash-patches mailing list