Bug 389899

Summary: Split dates aren't updated when copying previous entry
Product: [Applications] skrooge Reporter: machtyn
Component: generalAssignee: Guillaume DE BURE <guillaume.debure>
Status: RESOLVED FIXED    
Severity: major CC: stephane
Priority: NOR    
Version: 2.11.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description machtyn 2018-02-05 02:02:39 UTC
When a user wishes to duplicate a split entry and modifies the date, the dates in the split fields are updated. But when refreshing the entry, the date is shown as the previous entry. See STR.

Steps To Reproduce (STR)
1. Create an entry:
    Set the account, date (ex. 2018-01-04), an amount (-93.47), Payee
2. Click the Split button and enter some values
    Set the Amount ($54.21).
    NOTE: Both dates show the proper values.
3. Click the Add button. (All should be normal to this point.)
4. Update the Date field from the dropdown below the Account field (2018-02-01).
    NOTE: Both dates shown in the split fields are updated as expected.
5. Click the Add button. BUG: See the Date fields in the Split section have reverted to the 2018-01-04 value.
Comment 1 Stephane MANKOWSKI 2018-02-05 22:13:06 UTC
Git commit 97d86aeb95a6d2b33d8c2df5ed646ab8caceb2af by Stephane MANKOWSKI.
Committed on 05/02/2018 at 22:12.
Pushed by smankowski into branch 'master'.

Split dates aren't updated when copying previous entry

M  +2    -1    CHANGELOG
M  +6    -2    plugins/skrooge/skrooge_operation/skgoperationpluginwidget.cpp

https://commits.kde.org/skrooge/97d86aeb95a6d2b33d8c2df5ed646ab8caceb2af