frappe / frappe

Low code web framework for real world applications, in Python and Javascript
https://frappeframework.com
MIT License
7.16k stars 3.41k forks source link

Currency Change in Opportunity Does Not Convert Item Rates and Amounts #27745

Open emmanuel-mwendwa opened 1 month ago

emmanuel-mwendwa commented 1 month ago

Description of the issue

I encountered an issue when changing the currency in an Opportunity. Initially, the Opportunity was created with the currency set to TZS (Tanzanian Shilling). When I attempt to change the currency to USD (United States Dollar), only the currency symbol changes, but the item rates and amounts remain the same, without any conversion taking place.

Steps to reproduce the issue

  1. Create a new Opportunity.
  2. Set the currency to TZS.
  3. Add items to the Opportunity with rates and amounts in TZS.
  4. Change the currency from TZS to USD.

Observed result

The currency symbol changes to USD, but the rates and amounts remain unchanged, reflecting the original TZS values without converting to USD.

Expected result

When the currency is changed, the item rates and amounts should be converted to reflect the new currency (USD), based on the applicable exchange rate.

Environment:

Frappe Framework version: v15.40.3 (HEAD) ERPNext version: v15.34.2 (HEAD)

Screenshots

kalungia commented 1 week ago

Hi @emmanuel-mwendwa, this is erpnext bug and not frappe bug, open an issues in erpnext