You *can* save those options, but this does change the workflow to get the invoice data in the report.

After saving the report config, to print a new invoice with that config you have to go to Reports > Saved Report Configurations, then go to Options and select your invoice.

I agree though, that ideally, there should be a way to save your options as the new default so that such a cumbersome workflow is not required and all the many places one can generate an invoice report with a single click would *just work*.

Note, you presently *should* be able to edit the default invoice stylesheet to get some of these to stick.

Regards,
Adrien

On 1/4/21 2:07 PM, Dave Hayes wrote:
In the normal user case, when printing an invoice, one clicks "Options"
in the toolbar and is presented with 4 tabs of choices before printing
one's invoice to send.

There has never (to my knowledge, and I've been using gnucash for years) been a
way to save these as defaults, causing most users to have to slog through 4
tabs of options and redo them for each invoice.

This might be especially painful if you use custom CSS like I do but you got
even more custom with it than I did.

On FreeBSD, I have a solution which I apply on each release (this is not for
the timid):

--- invoice.scm 2021-01-04 11:58:52.211210000 -0800
+++ realpath.scm        2021-01-04 11:56:56.833457000 -0800
@@ -34,6 +34,7 @@
  (define (addif pred . data) (if pred data '()))
(define base-css "/* advanced users only */
+.invoice-title { font-size: 125%; font-weight: bold }
  .div-align-right { float: right; }
  .div-align-right .maybe-align-right { text-align: right }
  .entries-table * { border-width: 1px; border-style:solid; border-collapse:
collapse} @@ -235,12 +236,12 @@
    (gnc:register-inv-option
     (gnc:make-simple-boolean-option
      (N_ "Display Columns") (N_ "Discount")
-    "k" (N_ "Display the entry's discount?") #t))
+    "k" (N_ "Display the entry's discount?") #f))
(gnc:register-inv-option
     (gnc:make-simple-boolean-option
      (N_ "Display Columns") (N_ "Taxable")
-    "l" (N_ "Display the entry's taxable status?") #t))
+    "l" (N_ "Display the entry's taxable status?") #f))
(gnc:register-inv-option
     (gnc:make-simple-boolean-option
@@ -341,7 +342,7 @@
     (gnc:make-text-option
      (N_ "Display") (N_ "Extra Notes")
      "u" (N_ "Extra notes to put on the invoice.")
-    (G_ "Thank you for your patronage!")))
+    (G_ "Thank you for the opportunity to assist you!")))
(gnc:register-inv-option
     (gnc:make-multichoice-option

Naturally, since invoice.scm changes each release (and sometimes changes
pathnames), this has to be done on each upgrade of gnucash.

Given that background my question is this: are there ever any plans to change
gnucash's behavior so a default set of options are savable by a user?

Thanks in advance.


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

Reply via email to