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 <[email protected]>
Sent: Sat Apr 23 06:35:46 EST 2016
To: [email protected]
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
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to