Money exchange rate

Hi,
I have an error when configure exchange rate between USD and VND.
1 USD = 21349.27 VND => OK
1 VND = 0.000047 USD => “Incorrect value: Exchange Rate must be > 0.0”. How to solve it?

Secondly, is there any way to get the exchange rate from Google so I don’t I have to update it many time?

Thirdly, is there any way to make 1 item have 2 price (USD & VND) or I have to add 2 item with each seperate price?

thanks!

number3 answer is here: Multi-currency price list so sad :cry:

I think,
In Code -validation for ‘exchange rate will be greater than 0’ thats why error occurred as “Incorrect value: Exchange Rate must be > 0.0”.

Geetanjali Shitole
New Indictrans Technologies Pvt. Ltd.

So do I need to hardcode into it?

You can change the code but after changing the code if you have taken updates then conflicts may occure.

Geetanjali Shitole
New Indictrans Technologies Pvt. Ltd.

@dtran

You have to set precision of the “Exchange Rate” field to 6, to handle such a small number. By default precision is 3, hence system set exchange rate to zero.

You can set precision from Setup → Customize Form.

I just set the precision to 6 or 9 and both not work, I add 0.000047 to Exchange rate in my currency exchange from VND to USD but it always 0 after I hit submit. Already clear cache but it still the same

Can you add this issue to GitHub - seems like a fix is needed.

Yeah it’s here Money exchange rate precision · Issue #2918 · frappe/erpnext · GitHub