[Gnucash-changes] r13136 - gnucash/trunk/src/business/business-core - omitting collect type from invoice object until fix is ready in libqof - allows QSF Invoice export to work

Neil Williams codehelp at cvs.gnucash.org
Mon Feb 6 17:09:21 EST 2006


Author: codehelp
Date: 2006-02-06 17:09:21 -0500 (Mon, 06 Feb 2006)
New Revision: 13136
Trac: http://svn.gnucash.org/trac/changeset/13136

Modified:
   gnucash/trunk/src/business/business-core/gncInvoice.c
Log:
omitting collect type from invoice object until fix is ready in libqof - allows QSF Invoice export to work

Modified: gnucash/trunk/src/business/business-core/gncInvoice.c
===================================================================
--- gnucash/trunk/src/business/business-core/gncInvoice.c	2006-02-06 20:45:27 UTC (rev 13135)
+++ gnucash/trunk/src/business/business-core/gncInvoice.c	2006-02-06 22:09:21 UTC (rev 13136)
@@ -1524,7 +1524,7 @@
     { INVOICE_TYPE,    QOF_TYPE_STRING, (QofAccessFunc)gncInvoiceGetType,    NULL },
     { INVOICE_TERMS,   GNC_ID_BILLTERM, (QofAccessFunc)gncInvoiceGetTerms,   (QofSetterFunc)gncInvoiceSetTerms },
     { INVOICE_BILLTO,  GNC_ID_OWNER, (QofAccessFunc)gncInvoiceGetBillTo, NULL  },
-    { INVOICE_ENTRIES, QOF_TYPE_COLLECT, (QofAccessFunc)qofInvoiceGetEntries, (QofSetterFunc)qofInvoiceSetEntries },
+/*    { INVOICE_ENTRIES, QOF_TYPE_COLLECT, (QofAccessFunc)qofInvoiceGetEntries, (QofSetterFunc)qofInvoiceSetEntries },*/
     { INVOICE_JOB,     GNC_ID_JOB,      (QofAccessFunc)qofInvoiceGetJob,     (QofSetterFunc)qofInvoiceSetJob }, 
     { QOF_PARAM_ACTIVE, QOF_TYPE_BOOLEAN, (QofAccessFunc)gncInvoiceGetActive, (QofSetterFunc)gncInvoiceSetActive },
     { QOF_PARAM_BOOK, QOF_ID_BOOK, (QofAccessFunc)qof_instance_get_book, NULL },
@@ -1538,6 +1538,8 @@
 
   /* Make the compiler happy... */
   if (0) {
+    qofInvoiceSetEntries(NULL, NULL);
+    qofInvoiceGetEntries(NULL);
     qofInvoiceSetOwner(NULL, NULL);
     qofInvoiceGetOwner(NULL);
     qofInvoiceSetBillTo(NULL, NULL);



More information about the gnucash-changes mailing list