ScrubCurrency
Christian Stimming
stimming at tuhh.de
Tue Nov 2 17:35:25 EDT 2010
Am Dienstag, 2. November 2010 schrieb John Ralls:
> What's significant is that when I tried to transfer 100 shares of FOO from
> one FOO-denominated account to another using the Transfer menu item, the
> dialog told me that one account had to be a cash account.
>
> What's the reason for that limitation?
No idea. Throw it out.
> The other big issue is that there's a test that splits a file up into its
> component elements and then loads them one by one. It doesn't like the
> currency-free transactions because there aren't any accounts to get the
> currencies from. If I fix the files so that there are commodity elements
> in the transactions, then it won't exercise xaccTransactionScrubCurrency
> during the more realistic load test. I think that the break-the-file-apart
> approach is a dumb and unrealistic test. Does anyone object to my removing
> it?
No. Throw it out. Go for it.
> Last, it appears that scrub runs every time a file is loaded, and that
> Actions>Check & Repair also runs it. Did I miss something, or is Check &
> Repair superfluous?
Yes.
Thanks a lot!
Christian
More information about the gnucash-devel
mailing list