Troubles with foreign currency account

Thomas Klausner tk at giga.or.at
Thu Feb 15 19:37:05 EST 2007


On Thu, Feb 15, 2007 at 11:36:05AM -0500, Derek Atkins wrote:
> We dont actively monitor the ISO Currency Code list.  Perhaps we
> should, but we barely have enough manpower to do what we need to
> do.  So we depend on users like you to file bug reports when
> things change.  And yes, according to http://www.xe.com/iso4217.htm
> the turkish new lira is TRY.  Could you please file a bug report
> at http://bugzilla.gnome.org/enter_bug.cgi?product=GnuCash so
> we don't forget it?

I understand the manpower problem... I just wanted to report the
problem here.  I filed
http://bugzilla.gnome.org/show_bug.cgi?id=408442

> > . I set the "Smallest fraction" for my account backed in TRL
> >   (account type Bank) to "1/100", but when I enter new transactions
> >   inside that account, It gets rounded to whole numbers
> 
> Hmm, looks like it's pulling the SCU from the wrong place.
> Can you file a bug report on this, please.  I dont think this
> has anything to do with multi-currency but is just a bug in the
> register code.

Ok, it's
http://bugzilla.gnome.org/show_bug.cgi?id=408444

> > . When I enter a transaction in a EUR account, there's a popup
> >   for the exchange rate.  It is confusing -- on the right hand side
> >   it says "1 TRL = x EUR" next to the exchange rate and "1 EUR =
> >   x TRY" next to the "To Amount" entry field.  I think only the
> >   lower one is true when I enter an exchange rate, but I could be
> >   wrong.
> 
> No, both numbers are correct..  It's showing you the rate in both
> directions once you enter the rate or amount.  The reason it's doing
> this is that the exchange rate dialog might need to specify one
> direction when you have the number in the other direction, so it shows
> you both directions.
> 
> I'm sorry it's confusing to you, but everyone else seems to find the
> information both useful AND clear.  Maybe you're confused that there
> is no columnar relationship between the entries and the rates.
> Unfortunately the HIG frowns on putting lines in the dialogs to
> separate frames, but the rates are really in a different "frame" then
> the entries.

What I find confusing (see attached screenshot):
There are two lines, "1 EUR = x TRL" and "1 TRL = x EUR"
which seem to relate to the input fields on the left.
(Yes, the "x" are literals, they are not replaced by numbers.)
I think 2 changes would improve the situation:
a) Replace x with the exchange rate as soon as the window
   is opened, if the "exchange rate" field already contains a
   number. This is what mostly confused me -- I usually just enter
   a number and press ENTER or click OK, so I never saw the x
   replaced with some real number -- I have to TAB off the field
   for this to happen.
b) Move the two lines "1 EUR = x TRL" and "1 TRL = x EUR" below
   the two checkboxes -- I don't care if it's one or two lines,
   as long as it doesn't look as much correlated to the two entry
   boxes.

> > . When I change a transaction I entered from an EUR account, I can
> >   modify the decimal places, and it's not rounded to whole numbers,
> >   but it's rounded to I don't know what. For example, I can only
> >   enter 0.50 and 0.57, nothing in between.
> 
> That's because the combination of exchange rate and decimal places
> wont let it be that amount.   I dont know what the exchange rate is
> between EUR and TRL/TRY, but another possibility is that you're
> overflowing the exchange rate.

I have only one price added in the Price editor for the TRL currency,
and that's:
Security TRL
Currency EUR
Date 27.01.2007
Type Last
Price 0.540073

When I already have a value less than one in the TRL account (by
creating it from a different EUR account, because I can't enter
fractional numbers in the TRL account, see above), I can change it
to 0.36 and 0.43, but values in between get rounded to the nearer
of the two.

Btw, I also see
http://bugzilla.gnome.org/show_bug.cgi?id=335103

> > . When I enter a price in the price editor by selecting a security
> >   and "Add"ing it, afterwards the display of the box is completely
> >   broken (it has duplicate lines for all kinds of different stuff).
> >   Closing and opening the price editor restores sanity here, until
> >   I enter a new price.
> 
> Please file a bug report on this if one doesn't already exist.

I didn't see one. Could you please try to reproduce it first?
The procedure is as follows:
Enter price editor, select a commodity e.g. a currency (before.png).
Add Price (in my case, for the Feb 17, value same as for Feb 16).
Display looks like after1.png. Close Price Editor, re-enter, display
looks sane again (after2.png).

This looks much worse when you already have a number of prices.

> > . The prices added to the price editor automatically by entering
> >   transactions are very very strange and usually wrong.
> 
> They are only strange/wrong if you enter the exchange rates
> strangely/wrongly.

I probably should have been more specific.
Say I add a transaction from a EUR to a TRL account.
Price editor pops up with a default price (it gets from where?)
In this case, I transferred 200 EUR to the TRL account and didn't
edit the suggested exchange rate of 1.85something.
The value in the TRL is correct, 370 (rounded again, for whatever
reason this time...).
Then I open the price editor and see "0 + 20 / 37" (see autoprice.png).
That's what I call a "weird" price :)

Cheers,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transferfundsdialog.png
Type: image/png
Size: 22421 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070216/b54c76e5/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: before.png
Type: image/png
Size: 23368 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070216/b54c76e5/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after1.png
Type: image/png
Size: 23088 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070216/b54c76e5/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after2.png
Type: image/png
Size: 26815 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070216/b54c76e5/attachment-0008.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: autoprice.png
Type: image/png
Size: 12149 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20070216/b54c76e5/attachment-0009.png 


More information about the gnucash-devel mailing list