gnucash maint: Bug 798224 - Scheduled transactions are created with date-entered...
John Ralls
jralls at code.gnucash.org
Sat Jul 10 19:37:21 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/e1c153a5 (commit)
from https://github.com/Gnucash/gnucash/commit/083035ae (commit)
commit e1c153a516f0689b04efff7191639ad604a6b6b6
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jul 10 16:35:20 2021 -0700
Bug 798224 - Scheduled transactions are created with date-entered...
copied from the template transaction.
diff --git a/libgnucash/app-utils/gnc-sx-instance-model.c b/libgnucash/app-utils/gnc-sx-instance-model.c
index 0dac51989..0066f146b 100644
--- a/libgnucash/app-utils/gnc-sx-instance-model.c
+++ b/libgnucash/app-utils/gnc-sx-instance-model.c
@@ -1276,6 +1276,7 @@ create_each_transaction_helper(Transaction *template_txn, void *user_data)
g_date_get_month(&creation_data->instance->date),
g_date_get_year(&creation_data->instance->date));
+ xaccTransSetDateEnteredSecs(new_txn, gnc_time(NULL));
template_splits = xaccTransGetSplitList(template_txn);
txn_splits = xaccTransGetSplitList(new_txn);
if ((template_splits == NULL) || (txn_splits == NULL))
Summary of changes:
libgnucash/app-utils/gnc-sx-instance-model.c | 1 +
1 file changed, 1 insertion(+)
More information about the gnucash-changes
mailing list