Op zaterdag 2 juni 2018 06:18:54 CEST schreef Adrien Monteleone:
> Just an FYI, the “qof-” ’interface’ will be phased out as development
> progresses on moving to a proper db based application, so I wouldn’t rely
> on it if at all possible. That particular variable/function very well might
> be a now deprecated part of the API. See the roadmap article on the wiki
> for more info.

That will probably still take a while.

What has been removed here specifically is the ability to access kvp frames 
and slot directly. Kvp slots are an implementation detail of the backends and 
should never have been exposed in the first place. All known uses of
qof-book-get-slots and related functions should have a higher level 
alternative access function.

Unfortunately the error message doesn't show exactly which slot your invoice 
report was trying to access, so I can't readily tell what the replacement 
function should be.

Considering the issue happens in an invoice report I suspect the report is 
trying to access company information or fancy date info. I haven't seen your 
original report (it looks like you sent it directly to Chris), but I expect 
that's what he replaced in his updated report.

Regards,

Geert


_______________________________________________
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.

Reply via email to