GNOME Bugzilla – Bug 668530
Unable to select periode in Budget Flow
Last modified: 2018-06-29 23:05:26 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)?
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.
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)
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 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!
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.
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
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.