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

Issue on fetching exchange rate when making sales order from purchase order #41163

Closed
AureliusIvan opened this issue Apr 24, 2024 · 1 comment
Labels

Comments

@AureliusIvan
Copy link

Step to reproduce the issue:

  1. Create a Purchase Order from an existing Sales Order. The Sales Order currency is in IDR, but the Purchase Order currency is in USD.

Observed result:

  1. The exchange rate in PO is not fetched automatically. It shows 1 instead of the correct rate (around 16000)
  2. The currency for PO items remains unchanged, not switching to USD.
  3. The last PO Item has 0 item price even though there is an item price for that Item

Expected result:

  1. The exchange rate should be fetched automatically when creating a purchase order from a sales order.
  2. The currency for items should switch to USD in line with the currency conversion.
  3. All items should display their correct prices as per the defined item prices.

Apps:

ERPNext: v14.56.0 (HEAD)
Frappe Framework: v14.66.0 (HEAD)

Sales Invoice Doctype
image (21)

Purchase Order Doctype
image (22)

Item Price List Doctype
image (23)

@akhilnarang akhilnarang transferred this issue from frappe/frappe Apr 24, 2024
@Poorvi-R-Bhat
Copy link
Collaborator

  1. Exchange rate is being fetched automatically on creating the Purchase Order from Sales Order DocType.
  2. Currency is also being set in the Purchase Order DocType from the Sales Order Doctype.
  3. The items are displaying the Item Price based on the Rates and Price List defined on the Item Price DocType.

Sales Order
image

Purchase Order
image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants