[GNC] Custom invoices don't work after upgrade
JB
iulyb at buliga.net
Mon May 20 14:05:43 EDT 2019
Hi,
I have the same exact issue.
An error occurred when processing the template:
Unbound variable: qof-book-get-slots
In ice-9/boot-9.scm:
829:9 4 (catch _ _ # _)
In eguile-gnc.scm:
187:6 3 (eval-input)
187:6 2 (lp)
191:13 1 (loop)
In ice-9/eval.scm:
619:8 0 (_ #(#(#(#(#) # # …) …) …))
Is it possible to post the diff regarding (slots
(qof-book-get-slots book)) ?
This is the relevand portion of code:
(book (gncInvoiceGetBook opt-invoice))
(postdate (gncInvoiceGetDatePosted opt-invoice))
(duedate (gncInvoiceGetDateDue opt-invoice))
(billingid (gncInvoiceGetBillingID opt-invoice))
(notes (gncInvoiceGetNotes opt-invoice))
(terms (gncInvoiceGetTerms opt-invoice))
(termsdesc (gncBillTermGetDescription terms))
(lot (gncInvoiceGetPostedLot opt-invoice))
(txn (gncInvoiceGetPostedTxn opt-invoice))
(currency (gncInvoiceGetCurrency opt-invoice))
(entries (gncInvoiceGetEntries opt-invoice))
(splits '())
(slots (qof-book-get-slots book))
(coyname (coy-info slots gnc:*company-name*))
(coycontact (coy-info slots gnc:*company-contact*))
(coyaddr (coy-info slots gnc:*company-addy*))
(coyid (coy-info slots gnc:*company-id*))
(coyphone (coy-info slots gnc:*company-phone*))
(coyfax (coy-info slots gnc:*company-fax*))
(coyurl (coy-info slots gnc:*company-url*))
(coyemail (coy-info slots gnc:*company-email*))
I used same invoice for about 6 years so I am interested to fix it.
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
More information about the gnucash-user
mailing list