Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purchase Order Item doesn't trigger currency exchange #41399

Open
geraldleungontario opened this issue May 9, 2024 · 0 comments
Open

Purchase Order Item doesn't trigger currency exchange #41399

geraldleungontario opened this issue May 9, 2024 · 0 comments
Labels

Comments

@geraldleungontario
Copy link

geraldleungontario commented May 9, 2024

Information about bug

In Purchase Order, when entering an item with a foreign currency into the Purchase Order Item table, the Rate is showing 0.

I have the following configured:
Price List: Currency = USD, Buying enabled, named as "Standard Buying US"
Item Price (for the item tested): Price List = Standard Buying US, Buying enabled, Currency = USD, Rate = 120, Valid From = 05-02-2024
Global Defaults: Default Currency = CAD, Country = Canada

I tried manually setting a Currency Exchange for today (05-09-2024) with these:
From Currency = USD, To Currency = CAD Exchange Rate = 1.37
The Rate is still shows 0 in my test.

I tried configuring Currency Exchange Settings with these settings:
Service Provider = exchangerate.host, Use HTTP Protocol
I was able to save this and it counted as 1 API call in exchangerate.host. I retested my scenario and Rate still shows 0. I tried a few times and exchangerate.host didn't show any API calls.

Module

buying

Version

ERPNext: v15.22.0
Frappe Framework: v15.25.0

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant