AUDIT: r20655 - gnucash/trunk/src/engine - Bug #648554: SQL backend doesn't correctly save taxable flag on bills.
John Ralls
jralls at code.gnucash.org
Tue May 17 14:24:18 EDT 2011
Author: jralls
Date: 2011-05-17 14:24:18 -0400 (Tue, 17 May 2011)
New Revision: 20655
Trac: http://svn.gnucash.org/trac/changeset/20655
Modified:
gnucash/trunk/src/engine/gncEntry.c
Log:
Bug #648554: SQL backend doesn't correctly save taxable flag on bills.
Nicely illustrates why copying and pasting code leads to errors.
BP
Modified: gnucash/trunk/src/engine/gncEntry.c
===================================================================
--- gnucash/trunk/src/engine/gncEntry.c 2011-05-17 18:24:10 UTC (rev 20654)
+++ gnucash/trunk/src/engine/gncEntry.c 2011-05-17 18:24:18 UTC (rev 20655)
@@ -1603,8 +1603,8 @@
(QofSetterFunc)gncEntrySetInvTaxIncluded
},
{
- ENTRY_BILL_TAXABLE, QOF_TYPE_BOOLEAN, (QofAccessFunc)gncEntryGetInvTaxable,
- (QofSetterFunc)gncEntrySetInvTaxable
+ ENTRY_BILL_TAXABLE, QOF_TYPE_BOOLEAN, (QofAccessFunc)gncEntryGetBillTaxable,
+ (QofSetterFunc)gncEntrySetBillTaxable
},
{
ENTRY_BILL_TAX_INC, QOF_TYPE_BOOLEAN, (QofAccessFunc)gncEntryGetBillTaxIncluded,
More information about the gnucash-changes
mailing list