AUDIT: r20667 - gnucash/branches/2.4/src/engine - [20655] Bug #648554: SQL backend doesn't correctly save taxable flag on bills.
John Ralls
jralls at code.gnucash.org
Fri May 20 19:11:24 EDT 2011
Author: jralls
Date: 2011-05-20 19:11:24 -0400 (Fri, 20 May 2011)
New Revision: 20667
Trac: http://svn.gnucash.org/trac/changeset/20667
Modified:
gnucash/branches/2.4/src/engine/gncEntry.c
Log:
[20655] 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/branches/2.4/src/engine/gncEntry.c
===================================================================
--- gnucash/branches/2.4/src/engine/gncEntry.c 2011-05-20 16:36:31 UTC (rev 20666)
+++ gnucash/branches/2.4/src/engine/gncEntry.c 2011-05-20 23:11:24 UTC (rev 20667)
@@ -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