[patch] Save last used post-to accounts in owners kvp frames
Andreas Köhler
andi5.py at gmx.net
Mon Dec 31 06:20:21 EST 2007
Hi,
I wonder whether the attached patch, applicable to trunk, is desirable
for those that use the business functions. I usually do not touch that
code :-)
As of r16773 there is no default account selected in the account
selection widgets of invoice/bill/expense voucher post-to dialogs. The
patch tries to save the last used account in the kvp slot
"last-posted-to-acct" of the effective invoice owner (i.e. owner of job
if the job is the owner). Before showing the post-to dialogs it tries
to read that slot and pre-selects the account appropriately.
Comments?
-- andi5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: last-posted.patch
Type: text/x-patch
Size: 3812 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20071231/fc4f2d78/attachment-0001.bin
More information about the gnucash-devel
mailing list