Skip to content
Commit f773f22f authored by Cristian Oneț's avatar Cristian Oneț
Browse files

Fix the currency conversion dialog for really big/small conversion rates.

If the to value was equal to zero when the dialog was constructed a bad
(inverse) conversion rate was applied. This code was there since version
1.5 (on CVS) of this file. I don't understand why it was added that way
but now it's fixed.

Also fixe the prices dialog to display the prices using the configured
price precision.

Now in case that the value after conversion becomes zero the transaction
can't be entered.

BUG: 334564
(cherry picked from commit 7f61ffb7)
parent e3b4e55b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment