Tracking down 1.6 currency account import problems

Herbert Thoma tma@iis.fhg.de
Sun, 17 Nov 2002 17:19:54 +0100


Christian Stimming schrieb:
<...>
> I'm a little bit worried since the file Scrub.c hasn't been changed since
> November 2001, but it is still the only place that does this conversion of
> 1.6-transactions into 1.7-transactions. The point here is that this function
> only chooses one common commodity for the transaction, but obviously neither
> one of the quantities (amount) or one of the values is adjusted. Given that
> the wrong transaction
> 
> > Split A, to EUR Asset account: Quantity 511.29 Value 511.29
> > Split B, from Currency account: Quantity -1000.00 Value -1000.00
> 
> results, we should probably change that function to actually adapt the value
> of those splits that go into a currency account, so that the correct values
> 
> > Split A, to EUR Asset account: Quantity 511.29 Value 511.29
> > Split B, from Currency account: Quantity -511.29 Value -511.29
> 
> are achieved. More opinions here?

Sounds reasonable.

Any comments from the people who wrote this code?
(i.e. the people who know (or knew once) what is really going on)

 Herbert.

> Christian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iQCVAwUBPdgocWXAi+BfhivFAQELsAP/f3SioEHNJ688P4R7eeU0Yt7iMkYFaCpd
> eW8HbtGptqNEk3q6XZ2DZMQSg1vma9kkNNYGxnbWtXSQIsk5SKBb5rwEkg3e1Iuk
> 79IDRUqgwGDEZL3FvNUtetS3bZS/OaPoxl2tvIu3XAaF0anV56z257Q83iXpNyqp
> UtCtua0Uhig=
> =tmuu
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten 3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: tma@iis.fhg.de
www: http://www.iis.fhg.de/