How the date populates when transactions are duplicated

will Snow wsnow at gmx.com
Mon Apr 25 05:45:38 EDT 2016


   Thanks David,

   I found autofill takes longer, it's quicker to duplicate the record and
   just enter a date rather than tabbing though and autofilling. However,
   it looks as though the scheduled transactions feature solves the issue
   I was having.

   Thanks again,
   Will

   Sent: Saturday, April 23, 2016 at 2:13 PM
   From: David <sunfish62 at yahoo.com>
   To: "will Snow" <wsnow at gmx.com>, gnucash-devel at gnucash.org
   Subject: Re: How the date populates when transactions are duplicated

   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 d
ate rather than the date of the original transaction. I tend to do my accounts a
ll 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 thi
s 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 -> g
nc_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
   [1]https://lists.gnucash.org/mailman/listinfo/gnucash-devel

References

   1. https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list