[GNC] Custom invoices don't work after upgrade

Geert Janssens geert.gnucash at kobaltwit.be
Fri Jul 3 09:51:28 EDT 2020


Op vrijdag 3 juli 2020 15:11:13 CEST schreef lomax at clickworkorange.com:
> On Fri, 2020-07-03 at 12:25 +0000, Christopher Lam wrote:
> > Here you go. Seems to be a nice css template. You should submit for
> > inclusion ^_^
> 
> Oh, many thanks! In a previous life I did CSS for a living, so it feels
> a lot more familiar than Guile... Still stuck on where to put the cwo-
> invoice.eguile.scm file though!

It's unfortunately a bit messy.

An eguile report consists of three parts.

The report file (cwo-invoice.scm)
The equile template file (cwo-invoice.eguile.scm)
The css file (cwo-invoice.css)

The report file can go anywhere as you load it explicitly in the config-user.scm file.

The css and template file are searched for by default in what we refer to as 
GNC_USERDATA_DIR. On linux that is ~/.local/share/gnucash

If the files are not in that location, you can always make the report find them by setting full 
pathnames in the respective report options. However storing them in the default location will 
probably save you some hassle.

Regards,

Geert


More information about the gnucash-user mailing list