AUDIT: r14531 - gnucash/trunk - Properly round invoice entries and totals. Fixes #300042.

Chris Shoemaker c.shoemaker at cox.net
Sun Jul 16 22:18:12 EDT 2006


On Sun, Jul 16, 2006 at 10:04:59PM -0400, Derek Atkins wrote:
> Modified: gnucash/trunk/src/business/business-ledger/gncEntryLedger.c
> ===================================================================
> --- gnucash/trunk/src/business/business-ledger/gncEntryLedger.c	2006-07-17 00:39:27 UTC (rev 14530)
> +++ gnucash/trunk/src/business/business-ledger/gncEntryLedger.c	2006-07-17 02:04:59 UTC (rev 14531)
> @@ -672,16 +672,12 @@
>  
>    gncEntryComputeValue (qty, price, (taxable ? table : NULL), taxincluded,
>  			discount, disc_type, disc_how,
> +			100,  /* XXX -- compute a real denominator */
>  			value, NULL, &taxes);

Is there any way to get the real commodity (and its SCU)?

-chris



More information about the gnucash-devel mailing list