After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726558 - User's Style Sheet Selection and Preferences Ignored
User's Style Sheet Selection and Preferences Ignored
Status: RESOLVED DUPLICATE of bug 643022
Product: GnuCash
Classification: Other
Component: General
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
: Marie (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-03-17 15:45 UTC by Marie
Modified: 2018-06-29 23:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marie 2014-03-17 15:45:15 UTC
While I can create a style sheet for own invoices with logo, graphic, etc. GnuCash totally ignores the default style sheet I assign to reports! It always reverts to your default. Even worst, it resets the preferences, messages and field selections I made for my custom style sheet - so I need to redo that EVERY TIME I issue an invoice!

This is a real pain, to the point that it's even faster to retype the entries and customer info in a Word template... :(

PLEASE fix this soon, because it is enough of a time waster, frustration and possible source of errors for me to consider paying for an equivalent commercial software (which irks me!) rather than sending you a donation.

Thanks,

Marie
Comment 1 Geert Janssens 2014-03-17 16:38:57 UTC
Do you save your modified reports as Preconfigured reports ?
Comment 2 André Klapper 2014-03-17 21:17:04 UTC
*** Bug 726575 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2014-03-17 21:17:25 UTC
From bug 726575:

ANSWER TO THE QUESITON YOU EMAILED ME: Yes, I saved my custom invoice style
sheet as the default invoice and it's still there when I check... but when I
print an invoice, it doesn't select it. When I manually select it, my
preferences were not saved and have to be redone EVERYTIME!
Comment 4 Geert Janssens 2014-03-18 08:30:16 UTC
Ah, now I understand what you are trying to accomplish. Unfortunately it won't work that way.

There are two wrong assumptions in your message:
1. Preconfigured reports are not the report's default. When you open a report from the reports menu it will always open in the default configuration, regardless of which configuration you have saved earlier. To open a report in such a configuration, you need to open the "Preconfigured reports" menu item and run one of the configurations found there.

2. The print invoice feature doesn't take the preconfigured reports into account at all.

I realize this is not optimal. It grew historically this way.

To make your life easier, I propose you work the other way around. You have saved an invoice configuration to your likings in "Preconfigured reports".

You can either keep this configuration permanently open or open it from "Preconfigured reports" each time you need to print an invoice.

With the invoice report open, choose "Edit report preferences" and manually enter the invoice number.

Hit ok, and there is your invoice to print.

That's the best we have for now.
Comment 5 Geert Janssens 2014-03-18 08:39:43 UTC
There is already an enhancement request to improve this by the way. I'll mark this bug as a duplicate.

*** This bug has been marked as a duplicate of bug 643022 ***
Comment 6 Geert Janssens 2014-03-18 14:07:13 UTC
Marie, please don't reply in e-mail to the messages you receive from bugzilla,  but instead add comments to the relevant bug. Each message you receive has a link directly to the relevant bug. Thank you.

Marie wrote in a private mail:
I can't seem to do what you describe...

- I saved my custom invoice into the reconfigured reports
- when I select my custom invoice from the preconfigured reports tab (Reports | Preconfigured Reports), I still get the ugly default!!

Up to now, the only way I can print a proper invoice with the right format and information is to do the following (which is convoluted and not acceptable in the long run):
Open the invoice to print
select : Print Invoice | Options | Stylesheet: Custom Invoice 
Click "Apply". I can now see my invoice on my stylesheet, but all the preselected preferences under "Display" and "Display Columns" were lost and are back to your default!! 
Set again set my preferences (including retyping the Notes - each time!) under "Display" and "Display Columns".
Click "Apply"
I'm now finally ready to print my invoice... 
Marie
Comment 7 Geert Janssens 2014-03-18 14:11:56 UTC
How about when you want to print an invoice

- Open the preconfigured invoice report from preconfigured reports configuration (which will still use the ugly default configuration)
- Edit report options
  - Select invoice to print
  - Select style sheet
- Apply

Do you still have to redo the Display and Display columns steps if you start from the Preconfigured report ?

Regarding the style sheet that is not saved in the preconfigured report: I fixed a bug a couple of days ago that prevented style sheet information from being saved if it contained spaces. Does your stylesheet contain spaces in its name ?
Comment 8 Marie 2014-03-18 14:50:53 UTC
(In reply to comment #7)

That process works... My preferences and notes are no longer lost!

I get it now, I can leave that "printable invoice" tab with my style sheet open permanently and just go change the invoice number to have a perfect invoice ready to print.

As for the space in the style sheet's name, yes I have one - a bad habit I developed in recent years. By the way, it's called "Custom Invoice", which is the exact name suggested in the tutorial!

Thanks for your patience in explaining this indirect way to print custom invoices/reports.

Marie


> How about when you want to print an invoice
> 
> - Open the preconfigured invoice report from preconfigured reports
> configuration (which will still use the ugly default configuration)
> - Edit report options
>   - Select invoice to print
>   - Select style sheet
> - Apply
> 
> Do you still have to redo the Display and Display columns steps if you start
> from the Preconfigured report ?
> 
> Regarding the style sheet that is not saved in the preconfigured report: I
> fixed a bug a couple of days ago that prevented style sheet information from
> being saved if it contained spaces. Does your stylesheet contain spaces in its
> name ?
Comment 9 Geert Janssens 2014-03-18 14:56:22 UTC
Great.

The white space in the name of your style sheet makes that the preconfigured report fails to remember it. This will be fixed in GnuCash 2.6.3 coming later this month.

Meanwhile it's indeed best to just leave the tab with your custom invoice open.
Comment 10 John Ralls 2018-06-29 23:28:28 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=726558. Please update any external references or bookmarks.