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 402670 - invoice.scm changes get squashed each upgrade
invoice.scm changes get squashed each upgrade
Status: RESOLVED WONTFIX
Product: GnuCash
Classification: Other
Component: Reports
2.0.x
Other Linux
: Normal enhancement
: ---
Assigned To: Christian Stimming
Depends on:
Blocks:
 
 
Reported: 2007-01-31 00:42 UTC by Rodd Clarkson
Modified: 2018-06-29 21:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Invoice formated with changes specific to Australian GST (22.94 KB, patch)
2007-02-06 10:42 UTC, Rodd Clarkson
needs-work Details | Review

Description Rodd Clarkson 2007-01-31 00:42:21 UTC
gnucash.org suggests changes needed to satisfy GST in Australia.  One of these changes involves editing the file:

/usr/share/gnucash/guile-modules/gnucash/report/invoice.scm

Sadly, each time gnucash is upgraded this file is replaced and the changes lost.

While I can manage these changes manually, it's a PITA.  It would be much better if these changes could be handled either through an option, or through the use of a special GST specific .scm file included with gnucash.
Comment 1 Christian Stimming 2007-01-31 09:06:44 UTC
See http://wiki.gnucash.org/wiki/Custom_Reports#Loading_the_Report

In your home directory, you can edit ~/.gnucash/config.user to add a line of the form (load-from-path "/path/to/my/personal/report.scm"), which means this file will *not* be replaced upon upgrading gnucash. I think this fixes this issue sufficiently.
Comment 2 Rodd Clarkson 2007-02-05 20:32:18 UTC
While this might address the problem, it isn't perfect.

Firstly, GnuCash already includes custom reports, so what's so hard about including a custom report that suits the needs of Australian businesses?

Even it you are unwilling to do this, then at the very least, the instructions on how to convert a report for use with the GST should also include instructions on how to make the report a custom report and how to make sure it isn't lost with each update.  This might be as simple as adding a final step linking to the URL above.

The first of these two options would (of course) be far superior as the hapless end user wouldn't need to run and editor as root just to be able to make their report GST suitable (as is required now).
Comment 3 Christian Stimming 2007-02-06 08:53:33 UTC
I think we would happily add an invoice report that suits specifically the needs of Australian businesses. As a matter of fact, nobody has submitted such a report so far and we don't have Australian developers in our team. Would you be willing to upload a patch and/or your invoice.scm file? We'd happily add this to the next release.
Comment 4 Rodd Clarkson 2007-02-06 10:42:29 UTC
Created attachment 81990 [details] [review]
Invoice formated with changes specific to Australian GST
Comment 5 Rodd Clarkson 2007-02-06 10:42:49 UTC
Is this what you need?
Comment 6 Josh Sled 2007-02-25 15:06:08 UTC
Comment on attachment 81990 [details] [review]
Invoice formated with changes specific to Australian GST

Mark as patch
Comment 7 Derek Atkins 2007-09-10 20:50:34 UTC
Unfortunately no, this isn't what we need.  We would need either a DIFF against the existing invoice.scm showing your tunable parameters, or we need a new "australian-invoice.scm" that uses a different scheme module and report name that lives along-side invoice.scm.
Comment 8 Geert Janssens 2011-11-22 21:21:26 UTC
Marking this as an enhancement request. The original poster is requesting a new feature, not reporting a bug.
Comment 9 Geert Janssens 2011-11-22 21:27:41 UTC
Next, the proposed invoice.scm can't be included in GnuCash as is. The report system has changed since 2007 and many of the functions used in the attachement are no longer working.

Secondly, as Derek mentions, it is not clear whether the attachment was meant as a replacement for the existing invoice.scm, because it merely adds some Austalia-specific options or meant to be included as a separate report, next to the original invoice.scm.

In both cases, the report needs to be reworked.

Rod, do you still intend to improve on this report in order to have it included in GnuCash ? If not, I will close this enhancement request as we still don't have any Australian developers and it is very unlikely anybody else will create this report.
Comment 10 Rodd Clarkson 2011-11-27 22:45:39 UTC
Sorry guys, I'm not using GnuCash anymore.
Comment 11 John Ralls 2018-06-29 21:24:57 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=402670. Please update any external references or bookmarks.