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

Derek Atkins warlord at MIT.EDU
Wed Jul 19 21:15:27 EDT 2006


Derek Atkins <warlord at MIT.EDU> writes:

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

Okay, this should be fixed in 14545.  Can you re-audit the
"combined" patch-set?

-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