Bug 274913

Summary: Prompted to enter schedule too early
Product: [Applications] kmymoney Reporter: David Houlden <djhoulden>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Houlden 2011-06-04 14:29:56 UTC
Version:           SVN trunk (using KDE 4.5.5) 
OS:                Linux

I have a schedule set up for the 4th of each month. It is configured so that the amount is an estimate and if it falls on a non processing day it is moved to the next processing day. This month, 4th June is a Saturday so I expect the transaction to be moved to Monday 6th. When I opened KMyMoney on 4th I got the dialog prompting me to check the details of the scheduled and enter it into the ledger. The date was of the transaction was the 6th and it has been entered into the ledger on the 6th so that is all ok but why was I prompted to enter the schedule two days before it is due?

Reproducible: Always

Steps to Reproduce:
As explained above.

Expected Results:  
Prompting to enter a schedule should happen on the next or previous processing day if it has been moved by the scheduler, not on the non processing day it has been moved from.
Comment 1 Cristian OneČ› 2011-07-14 17:36:42 UTC
SVN commit 1241540 by conet:

BUG: 274913
Use the adjustedNextDueDate() to decide if a scheduled transaction should be entered or not.

 M  +1 -1      kmymoney.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1241540