gncEntryComputeValue exported to python?

Derek Atkins warlord at MIT.EDU
Thu Feb 2 11:57:55 EST 2017


Hi,

Christoph R <subscriptions+listen at rohland.net> writes:

> 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.

Is there any particular reason not to use the TaxIncluded flag?  Is
there some reason where the setting of TaxIncluded and your new proposed
netPrice flags wouldn't be equivalent?

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list