mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
omitting collect type from invoice object until fix is ready in libqof - allows QSF Invoice export to work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13136 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1524,7 +1524,7 @@ gboolean gncInvoiceRegister (void)
|
||||
{ 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 @@ gboolean gncInvoiceRegister (void)
|
||||
|
||||
/* Make the compiler happy... */
|
||||
if (0) {
|
||||
qofInvoiceSetEntries(NULL, NULL);
|
||||
qofInvoiceGetEntries(NULL);
|
||||
qofInvoiceSetOwner(NULL, NULL);
|
||||
qofInvoiceGetOwner(NULL);
|
||||
qofInvoiceSetBillTo(NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user