Bug #605415: Relax limit on scheduled days in the future

Patch by James Raehl: Expand scheduled transaction date limit by 366 days

Usually, scheduled transactions are limited to 365 days in the future.  This
patch doubles that limit plus adds a day for leap years.  The patch supports a
method for separating transactions that are not yet posted at the bank, by
assigning an initial date one year in the future.  Under this method, scheduled
transactions and their reminders are one year in the future, since they have
not happened yet.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18537 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2009-12-29 20:20:36 +00:00
parent 3535078fe7
commit a120ce996c

View File

@ -306,7 +306,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 365 1 30 30</property>
<property name="adjustment">0 0 731 1 30 30</property>
</widget>
<packing>
<property name="padding">0</property>
@ -389,7 +389,7 @@
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 365 1 30 30</property>
<property name="adjustment">0 0 731 1 30 30</property>
</widget>
<packing>
<property name="padding">0</property>
@ -1317,7 +1317,7 @@ Monthly</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">True</property>
<property name="wrap">False</property>
<property name="adjustment">1 1 365 1 10 10</property>
<property name="adjustment">1 1 731 1 10 10</property>
</widget>
<packing>
<property name="padding">0</property>