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

Closed
geraldleungontario opened this issue May 9, 2024 · 3 comments
Closed

Purchase Order Item doesn't trigger currency exchange #41399

geraldleungontario opened this issue May 9, 2024 · 3 comments
Assignees
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

@ruthra-kumar
Copy link
Member

This is not replicable. Does this happen on all cases or only a specific scenarios?

@ruthra-kumar ruthra-kumar self-assigned this Jun 4, 2024
@ruthra-kumar
Copy link
Member

System does pull the item price, following the same setup you've mentioned.
Screenshot 2024-06-04 at 2 13 23 PM
Screenshot 2024-06-04 at 2 10 50 PM

@ruthra-kumar
Copy link
Member

Closing this for now. You can re-open if it is replicable on a clean ERPNext instance.

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

2 participants