mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
[fix] Dont set currency and exchange rate while Quotation made from Opportunity for lead
This commit is contained in:
@@ -65,6 +65,9 @@ def before_tests():
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_exchange_rate(from_currency, to_currency):
|
||||
if not (from_currency and to_currency):
|
||||
return
|
||||
|
||||
if from_currency == to_currency:
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user