Bug 345781

Summary: Cheque number in /kmymoney/dialogs/kenterscheduledlg.cpp does not auto-increment.
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: onet.cristian
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.2
Sentry Crash Report:

Description allan 2015-04-01 22:30:05 UTC
If cheque numbers are set to auto-increment, and a schedule is created with write-cheque as the payment method and a cheque number is entered, all entries for that schedule continue to use the original cheque number.


Reproducible: Always

Steps to Reproduce:
1. Create schedule with write-cheque as the payment method.
2. Enter a cheque number.
3. Accept that first schedule transaction.
4. Enter the following occurrence.
5. Observe that the cheque number has not incremented.
6. The original cheque number is applied to all following occurrences.


Actual Results:  
As above.

Expected Results:  
The cheque number should get incremented.
Comment 1 allan 2015-04-04 10:03:20 UTC
Git commit 2c1c35ff15385044e616aba0e1a98d81974eae60 by Allan Anderson.
Committed on 04/04/2015 at 09:51.
Pushed by allananderson into branch 'master'.
Fix Cheque number in kmymoney/dialogs/kenterscheduledlg.cpp not
auto-incrementing.

M  +12   -0    kmymoney/dialogs/kconfirmmanualenterdlg.cpp
M  +19   -5    kmymoney/dialogs/kenterscheduledlg.cpp

http://commits.kde.org/kmymoney/2c1c35ff15385044e616aba0e1a98d81974eae60
Comment 2 Cristian OneČ› 2015-04-04 11:34:35 UTC
It's not fixed in 4.7.2 since this commit is not picked in 4.7.
Comment 3 allan 2015-04-06 10:36:48 UTC
Git commit f303fcb68955437fd1371a68bd914190f585daf2 by Allan Anderson.
Committed on 06/04/2015 at 10:20.
Pushed by allananderson into branch '4.7'.
Fix Cheque number in kmymoney/dialogs/kenterscheduledlg.cpp not
auto-incrementing.

(cherry picked from commit 2c1c35ff15385044e616aba0e1a98d81974eae60)

M  +12   -0    kmymoney/dialogs/kconfirmmanualenterdlg.cpp
M  +19   -5    kmymoney/dialogs/kenterscheduledlg.cpp

http://commits.kde.org/kmymoney/f303fcb68955437fd1371a68bd914190f585daf2
Comment 4 allan 2015-04-06 10:51:12 UTC
There was a mid-air collision when I updated the 'fixed in' status.  Everything seems OK here.
Comment 5 Cristian OneČ› 2015-04-06 10:56:32 UTC
(In reply to allan from comment #4)
> There was a mid-air collision when I updated the 'fixed in' status. 
> Everything seems OK here.

Sorry about that :), it was my fault, I should have let you do it.