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 668530 - Unable to select periode in Budget Flow
Unable to select periode in Budget Flow
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Budgets
2.4.x
Other All
: Normal major
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2012-01-23 18:51 UTC by jessica
Modified: 2018-06-29 23:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change maximum period value (1.43 KB, patch)
2013-09-24 02:28 UTC, R Ratliff
none Details | Review
Change maximum period value (1.43 KB, patch)
2013-09-24 03:17 UTC, R Ratliff
committed Details | Review

Description jessica 2012-01-23 18:51:55 UTC
Hi

I can create a period of 29 months in the budget, but cannot select above period 12 in the budget flow.. i tried to reduce the amount of periods but it changed all my amounts... so i reverted back to 29 period which now is fine as before, but i can't select past 12 which is a bit of an issue now.... :(

i'm probably doing something wrong, i mean i am not an accountant and know nothing about it, but gnu cash saved my life and now i'm starting to learn about budgets! any chance this has been already submitted as a bug (about not being able to select above period 12 in the budget flow page)?
Comment 1 R Ratliff 2013-09-19 03:03:02 UTC
I can confirm this bug on 2.4.12 on Linux. The period seems to have a minimum of 1 and a maximum of 12, regardless of the number of periods in the budget being reported on. For example, if I create a budget with 2 periods, I can run this report showing the values for period 6.
Comment 2 R Ratliff 2013-09-24 02:28:52 UTC
Created attachment 255600 [details] [review]
Change maximum period value

Change maximum period value in the budget flow report to 60 (this is the maximum number of periods possible in a budget)
Comment 3 R Ratliff 2013-09-24 03:17:25 UTC
Created attachment 255601 [details] [review]
Change maximum period value

I did the patch wrong the first time so it said [PATCH 2/2]. Now it is done properly.
Comment 4 Geert Janssens 2013-10-18 12:51:18 UTC
Comment on attachment 255601 [details] [review]
Change maximum period value

Committed as r23300. This will first appear in Gnucash 2.5.7 (unstable) or 2.6.0 (stable).

Thank you very much!
Comment 5 Geert Janssens 2013-10-18 12:54:13 UTC
I have read the FIXME notes in the patch. It would indeed be much nicer if the number of periods would come from the selected budget. But I'm afraid it's currently rather difficult to change option presets or limits based on another option dynamically (meaning: if you change the selected budget, the range of period number should automatically change, which is currently not possible).

So I have committed your patch as is, which at least fixes the current problem.
Comment 6 John Ralls 2017-09-24 22:45:49 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 7 John Ralls 2018-06-29 23:05:26 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=668530. Please update any external references or bookmarks.