Bug 389899 - Split dates aren't updated when copying previous entry
Summary: Split dates aren't updated when copying previous entry
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: 2.11.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Guillaume DE BURE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 02:02 UTC by machtyn
Modified: 2018-02-05 22:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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