Hi,
JB <[email protected]> writes:
> Hi,
> I have the same exact issue.
> An error occurred when processing the template:
>
> Unbound variable: qof-book-get-slots
[snip]
>
> Is it possible to post the diff regarding (slots
> (qof-book-get-slots book)) ?
The slots are now hidden under the implementation. You will need to use
the specific getter APIs to get to the underlying data.
> This is the relevand portion of code:
[snip]
> (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.
I don't know what "coy-info" is, but looking at the current invoice.scm
code, you will need to change these to, e.g.:
(coyname (gnc:company-info book gnc:*company-name*))
...
Hope this helps,
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
-derek
--
Derek Atkins 617-623-3745
[email protected] www.ihtfp.com
Computer and Internet Security Consultant
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.