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

Derek Atkins warlord at MIT.EDU
Sun Jul 16 22:25:59 EDT 2006


Quoting Chris Shoemaker <c.shoemaker at cox.net>:

>> 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)?

I can probably get it from the ledger->invoice->commodity->SCU.

> -chris

-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