ERPNext How to make Purchase payment in foreign currency like USD GBP or EURO

For sending money in Dollars/Euros to the supplier, Their default payable account should be in Dollars.

1- Create a payable account with foreign currency. Current Liabilities → Creditors(USD) .

2- ON the supplier master, change the default payable account into the accounts created on the previous step.

Please see the screenshots here