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 399784 - Reports: Period should default to account period preference
Reports: Period should default to account period preference
Status: VERIFIED NOTABUG
Product: GnuCash
Classification: Other
Component: Reports
git-master
Other All
: Normal enhancement
: ---
Assigned To: Chris Lyttle
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2007-01-23 13:52 UTC by Andrew Rose
Modified: 2018-06-29 21:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Rose 2007-01-23 13:52:05 UTC
Version: r15420

Platform: WinXP

Problem: Set a user preference for the accounting period.  Generate a report.  The period for the generated report defaults to "this year" instead of defaulting to the accounting period preference.

Workaround: Manually set the accounting period on each report to the desired period.
Comment 1 Christian Stimming 2007-02-06 09:12:30 UTC
I'm not so sure whether it is a good guess that *all* users want the default reporting period to be the "accounting period". I can easily imagine many users are fine with the default reporting period being "this year", and then the period needs to be changed anyway, for example to "beginning/end of accounting period" etc.

If I understand correctly, the only possible enhancement here would be to say "If the user set a non-default accounting period, then use this as default reporting period, else use this year as default". However, this is far from trivial to be implemented, as (IIRC) it's not quite easy to query whether the accounting period preference has been changed by the user or not. Not to mention those users whose accounting period happens to be the default value.

Actually I'm rather inclined to say the default reporting period should stay as it is, and the whole point of the report options is to choose your preferred period for this particular report.
Comment 2 Andrew Rose 2007-02-06 14:40:07 UTC
I'm not sure why you're suggesting working out whether the user has changed the accounting period or not.

There's always an accounting period.  It defaults to "this year".  I'm saying that reports should always use the accounting period initially - whether the user has changed the accounting period or not.  (Note that if they haven't changed it, they'll get the same behaviour as they do at the moment - namely reports for "this year".)

Users that have selected a different accounting period will (by default) get reports for their default period - the one they've asked for by setting the accounting period preference.

If you think the default accounting period used on reports should be different from the default accounting period used throughout the rest of GnuCash then (1) I'm surprised (2) I'd suggest a second option "default accounting period for reports".
Comment 3 John Ralls 2018-06-29 21:23:49 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=399784. Please update any external references or bookmarks.