How the date populates when transactions are duplicated

David sunfish62 at yahoo.com
Sat Apr 23 09:13:22 EDT 2016


Will,

Not that I'm a programmer or anything, but I can't see why you'd do this. It seems to me that a user could set the date to their starting point and use autofill to create their transactions. Having yet another preference setting will only add to general user confusion, I think.

David



_____________________________________________
From: will Snow <wsnow at gmx.com>
Sent: Sat Apr 23 06:35:46 EST 2016
To: gnucash-devel at gnucash.org
Subject: How the date populates when transactions are duplicated


Hi All,

I noticed that when transactions are duplicated the date field uses the latest date rather than the date of the original transaction. I tend to do my accounts all at once towards the end of the year so this seems to slow me down quite a lot as I have to enter an entire date all the time rather than just bumping up the day in the date field. So I was thinking about adding an option somewhere where the user can specify how the date field populates on duplication (or perhaps this already exists?).

It looks as though the relevant code is inside src/gnome-utils/dialog-dup-trans.c
and the flow goes as: gnc_dup_trans_dialog -> gnc_dup_trans_dialog_internal -> gnc_dup_trans_dialog_create

Moreover, it looks as though date and date_p are key variables but I'm not sure on where to pull the date stored in the transaction in the parent window. Or if I should be doing it in some other way?

Any advice is greatly appreciated.

Thanks,
Will
_____________________________________________

gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list