gncEntryComputeValue exported to python?

Christoph R subscriptions+listen at rohland.net
Tue Jan 31 11:13:43 EST 2017


Hi,

while trying to find a way to solve  Bug 776380 – Gross value of bills charged back instead of net value <https://bugzilla.gnome.org/show_bug.cgi?id=776380> I digged into gncEntry.c.
My idea is to add a ?_net_price variable to struct _gncEntry and modify gncEntryComputeValue to calculate the net price.

To my big surprise I found gncEntryComputeValue exported as a python binding. Since gncEntryComputeValue operates on a private struct in gncEntry I cannot believe that it should be exported to python.

Anything I missed?

Cheers,
Christoph



More information about the gnucash-devel mailing list