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 795237 - Update of "wohnungsw" template
Update of "wohnungsw" template
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Translations
unspecified
Other All
: Normal enhancement
: future
Assigned To: gnucash-documentation-maint
gnucash-documentation-maint
Depends on:
Blocks: 795246
 
 
Reported: 2018-04-13 17:40 UTC by christoph
Modified: 2018-06-30 00:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
exported as XML (378.53 KB, application/xml)
2018-04-13 17:40 UTC, christoph
Details
Saved file from Gnucash 2.6.11 (29.05 KB, application/gzip)
2018-04-13 17:42 UTC, christoph
Details
template format converted from xac file (378.54 KB, application/xml)
2018-04-13 21:00 UTC, christoph
Details
Created with the help of "gnc2xea.xsl" (385.33 KB, application/xml)
2018-04-13 22:31 UTC, christoph
Details
ordinary Gnucash format (31.00 KB, application/gzip)
2018-04-14 12:40 UTC, christoph
Details
Compressed template format (30.73 KB, application/gzip)
2018-04-14 12:42 UTC, christoph
Details
Link added to file's description field in template format (30.73 KB, application/gzip)
2018-04-14 20:00 UTC, christoph
Details
ordinary Gnucash format (32.05 KB, application/gzip)
2018-04-20 22:40 UTC, christoph
Details
template format (103.48 KB, application/gzip)
2018-04-20 22:41 UTC, christoph
Details

Description christoph 2018-04-13 17:40:41 UTC
Created attachment 370901 [details]
exported as XML

I've updated the file "acctchrt_wohnungsw.gnucash-xea" and created a new version based on the "new" 2010 version of the account plan.

This in NOT YET in template format.
Comment 1 christoph 2018-04-13 17:42:58 UTC
Created attachment 370902 [details]
Saved file from Gnucash 2.6.11
Comment 2 christoph 2018-04-13 21:00:46 UTC
Created attachment 370913 [details]
template format converted from xac file

The old template didn't contain a "commodity definition", however, I've not removed that here. Please verify if this is correct.
Comment 3 Frank H. Ellenberger 2018-04-13 22:18:11 UTC
Did you enable "get quotes" in the commodity editor? 
But I do not see the sense.
 EUR against what?
 Or the xsl needs improvement?
Comment 4 christoph 2018-04-13 22:28:15 UTC
I'm not aware of doing anything in the commodity editor.
This file was NOT converted via XSLT, I created it manually.
I just didn't know what to do with those entries, so left them intact.
The XSLT doesn't enforce new GUIDs, by the way.
Comment 5 christoph 2018-04-13 22:31:08 UTC
Created attachment 370914 [details]
Created with the help of "gnc2xea.xsl"

There seems to be an issue with GUIDs, apart from that the file is similar to the one I created before.
Comment 6 christoph 2018-04-13 23:38:38 UTC
(In reply to Frank H. Ellenberger from comment #3)
> Did you enable "get quotes" in the commodity editor? 

Obviously that's enabled.

> But I do not see the sense.

Perhaps accidentally enabled, when having a look at the currencies…

>  Or the xsl needs improvement?

No, definitely not, except this possible GUID issue.
What would be wrong with keeping the GUIDs fixed?
Comment 7 Frank H. Ellenberger 2018-04-14 02:36:40 UTC
OK, I see the GUID issue as blocker for Bug 795246 - install contrib/xslt after improving its documentation - and will fig in xslt.
Comment 8 Frank H. Ellenberger 2018-04-14 03:09:10 UTC
fig -> dig

So the commodity disappeared again :-)

Why not simply "Version 2010" instead of "Version 2003-2004 erweitert auf 2010"?

I think, in your emails you wrote important notes about
conventions and usage of account templates a) general b) specific to your template and would like to have a link either to the email archive, but probably better to a page in https://wiki.gnucash.org/wiki/De/GnuCash.Would you like to create that?
Comment 9 christoph 2018-04-14 10:58:47 UTC
(In reply to Frank H. Ellenberger from comment #8)

> So the commodity disappeared again :-)

Yes, but there are still issues:

1) In this file the checkbox was set for the Euro, but I've noticed a "template entry" as well in the XML code.

2) I should not even have been able to accidentally set the check box. This is another bug. If you edit currencies, there must be a "choosable" source as well, and of course another currency, or else there can't be a "price". If you make the "partner currency" implicit (a "main currency"), then for this main currency EVERYTHING in the editor should be disabled. However, I can check/uncheck this one checkbox to enable updates and choose a time zone, but NOTHING ELSE: all other fields are fixed and disabled.

> Why not simply "Version 2010" instead of "Version 2003-2004 erweitert auf
> 2010"?

I've got a couple of files on paper and PDF from those years this new version is based on, I simply wanted to document this. I've also got a 2008 version with no substantial differences I'm aware of (i.e. there's nothing "unique" which hasn't already been there in 2004 AND hasn't been there any longer in 2010).

However, yesterday I accidentally found the official 2012 version as a PDF file, and having read and included this one I support your attitude: it's sufficient to document the most recent changes.

The reason: there are quite a few entries which were present in 2003 or 2004, vanished in 2010, and reappeared in 2012. So the best approach is to not delete anything and document changes in the comments. The "name" should indeed reflect the latest additions.

> I think, in your emails you wrote important notes about
> conventions and usage of account templates a) general b) specific to your
> template and would like to have a link either to the email archive, but
> probably better to a page in https://wiki.gnucash.org/wiki/De/GnuCash.Would
> you like to create that?

This requires the URLs of the chosen "reference site" to be reasonably stable.

I can eventually do this, but probably not "perfectly" NOW. I've already spent more time on the template than I planned… I SHOULD be making 2 overdue tax declarations instead.
Comment 10 christoph 2018-04-14 12:40:43 UTC
Created attachment 370926 [details]
ordinary Gnucash format

New 2012 version!
Comment 11 christoph 2018-04-14 12:42:30 UTC
Created attachment 370927 [details]
Compressed template format

New 2012 version!

This file is generated via XSL and post-processed with "sed -e" in order to replace the GUIDs.
Comment 12 Frank H. Ellenberger 2018-04-14 15:15:57 UTC
In the header the linebreaks disappeared.

And then you would like to wait a week for other users to find typos etc.? 
Can you remind me then to commit it?
Comment 13 christoph 2018-04-14 15:53:30 UTC
(In reply to Frank H. Ellenberger from comment #12)
> In the header the linebreaks disappeared.

The XSLT removes those line breaks, but inserts superfluous ones below and at the bottom of the file.

> And then you would like to wait a week for other users to find typos etc.? 

Yes, I think we should wait some time for comments. Perhaps somebody will improve "gnc2xea.xsl" in the meantime, so the resulting file would look more pretty. I didn't hand-edit it after conversion in order to avoid typing errors.

> Can you remind me then to commit it?

If I don't forget that myself. So you would update the previous template in git then?
Comment 14 christoph 2018-04-14 15:55:33 UTC
(In reply to christoph from comment #13)
> (In reply to Frank H. Ellenberger from comment #12)

> I didn't hand-edit it after conversion in order to avoid typing
> errors.

Hm, I vaguely remember having removed a couple of line breaks, but nothing else.
Comment 15 christoph 2018-04-14 20:00:55 UTC
Created attachment 370942 [details]
Link added to file's description field in template format

Included a link to usage hints in the Wiki:

https://wiki.gnucash.org/wiki/De/Wohnungswirtschaft

ONLY the comment text has been changed, the template itsself is the same as in the previous file version.
Comment 16 christoph 2018-04-20 22:40:45 UTC
Created attachment 371187 [details]
ordinary Gnucash format

A few corrections and additions from 2008.
Comment 17 christoph 2018-04-20 22:41:39 UTC
Created attachment 371188 [details]
template format

A few corrections and additions from 2008.
Comment 18 John Ralls 2018-06-30 00:08:14 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=795237. Please continue processing the bug there and please update any external references or bookmarks.