mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Do not modify the entry's DateEntered when duplicating invoice to keep the entry ordering.
Follow-up to r20115. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20225 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d0b8c4296e
commit
b042a6d536
@ -2303,7 +2303,9 @@ set_gncEntry_date(gpointer data, gpointer user_data)
|
||||
//g_warning("Modifying date for entry with desc=\"%s\"", gncEntryGetDescription(entry));
|
||||
|
||||
gncEntrySetDate(entry, *new_date);
|
||||
gncEntrySetDateEntered(entry, *new_date);
|
||||
/*gncEntrySetDateEntered(entry, *new_date); - don't modify this
|
||||
* because apparently it implies the ordering of the entries,
|
||||
* which we don't want to change. */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user