r14562 - gnucash/branches/2.0 - Properly round invoice entries and totals. Fixes #300042.

Derek Atkins warlord at cvs.gnucash.org
Tue Jul 25 22:36:24 EDT 2006


Author: warlord
Date: 2006-07-25 22:36:22 -0400 (Tue, 25 Jul 2006)
New Revision: 14562
Trac: http://svn.gnucash.org/trac/changeset/14562

Modified:
   gnucash/branches/2.0/
   gnucash/branches/2.0/ChangeLog
   gnucash/branches/2.0/src/business/business-core/gncEntry.c
   gnucash/branches/2.0/src/business/business-core/gncEntry.h
   gnucash/branches/2.0/src/business/business-ledger/gncEntryLedger.c
Log:
Properly round invoice entries and totals.  Fixes #300042.
Perform internal computations to LCD, but then export rounded values.
Now, using the test case in Bug #300042 I get the same values
in the invoice window, in the printable invoice report, and
in the CoA Registers.
Compute the commodity scu from the ledger invoice (#300042).
This way the SCU is no longer hard-coded into the business ledger.

Audited by chris.
Merged r14531 and r14545.




More information about the gnucash-patches mailing list