Changing the standard default options in invoice.scm

Mike Evans mikee at saxicola.idps.co.uk
Wed Nov 30 07:08:48 EST 2011


On Wed, 30 Nov 2011 22:59:25 +1100
Hedley Finger <hedley.finger at gmail.com> wrote:

> I find it a pain when printing an invoice to have to click Options and
> manually change the fields in:
> 
>    - *Display tab
>    *Various check boxes but particularly the Extra Notes and Today
> Date Format
>    - *Display Columns tab
>    *Various tabs
>    - *General tab
>    *Custom Title field
> 
> There is a note in the FAQ contributed by Jonnybal which enables you
> to change some of the defaults between lines 241 to 325 of the code in
> invoice.scm, but being innocent of programming skills, could someone
> please contribute a table showing what all these code options do?
> 
> Each item typically begins with, for example,
>     (gnc:register-inv-option
> then the name of the option and then the arguments (?) that can be
> modified.
> 
> Regards,
> Hedley
> 
> P.S.  I tried to search the archives for previous posts on this topic
> but gave up in the face of the screwed up search page complained
> about in my recent posts.
> 
> 

You are looking in the right area.
If it's just changing whether to display or not an item then change #t
to #f or vice versa.  These are boolean true/false.

Oh, don't forget to make a backup ;)

Mike



More information about the gnucash-user mailing list