How use Currency Exchange for converting?

I have next buisness case:
I have doctype with form:

I already created Evaluation Currency And Currency exchange:
But how I can convert Evaluation to another currency in form automatically?

First, you should get the value of exchange rate of the currency exchange you use using frappe.get_doc
Then you need to set the value of your amount multiply the exchange rate you get using frm.set_value

1 Like

Thanks, I forgot close this topic. I wanted to find out is exist some function, that can convert one currency to another. I configured, that this function is from erpnext.setup.utils import get_exchange_rate.