GNOME Bugzilla – Bug 402670
invoice.scm changes get squashed each upgrade
Last modified: 2018-06-29 21:24:57 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.
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.
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).
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.
Created attachment 81990 [details] [review] Invoice formated with changes specific to Australian GST
Is this what you need?
Comment on attachment 81990 [details] [review] Invoice formated with changes specific to Australian GST Mark as patch
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.
Marking this as an enhancement request. The original poster is requesting a new feature, not reporting a bug.
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.
Sorry guys, I'm not using GnuCash anymore.
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.