r16415 - gnucash/branches/register-rewrite/src/engine - Clean-up the semantics of xaccDupeTransaction.
chris at cvs.gnucash.org
Sat Aug 11 16:56:54 EDT 2007
Date: 2007-08-11 16:47:13 -0400 (Sat, 11 Aug 2007)
New Revision: 16415
Clean-up the semantics of xaccDupeTransaction.
- If the transaction to be duplicated is being edited and has had
some splits removed, don't dupe those.
- Go ahead and parent the duped splits to the new transaction. There's
no good reason not to do this, and not doing it is just way too confusing.
- Clearly document what to expect from duped transactions, instead of
vaguely warning about weirdness.
More information about the gnucash-patches