Re: [GNC] Custom invoices don't work after upgrade

2019-05-21 Thread JB
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  (gncInvoiceGetDateDueopt-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  (gncInvoiceGetEntriesopt-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
___
gnucash-user mailing list
gnucash-user@gnucash.org
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.


[GNC] Multi currency income

2019-02-06 Thread JB

Hi,

I am using gnu-cash 2.6.12 on ubuntu. I used it for more that 5 years.

I think it was updated at some point this year and since them multi 
currency feature does not work as it use to be.


For a check for 100 USD I use to enter the next transaction(s):

100 USD went on `Shareholder US account` denominated in US dollars  was 
debited against `Shareholder account` nominated in CAD .
At that point the rate dialogue popped out and I enter the rate for that 
day according to national bank of Canada and hit ok.

The reflected amount was into the shareholder account  ( 130 CAD )

For the same 100 USD entry I had a second transaction to credit the 
`Income account` denominated in CAD. The same amount (130) was calculated.


At the end the US account ends with a balance of 0 but it reflects the 
fact that the income was in US dollars and deposited in my personal account.


This was the way of working for the last 5 years or so, however now I 
get at least 3 more transactions, 2 more trading accounts has been 
created (CAD and USD)  and there is no way to make it to calculate the 
Canadian amount.


Another issue if I calculate the CAD amount I allways have some 
remaining into the Imbalance account.


Any idea what happened or how am I suppose to do the same thing now?

Regards,
JB

___
gnucash-user mailing list
gnucash-user@gnucash.org
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.