mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-02 06:29:54 +00:00
@@ -1029,11 +1029,11 @@ class TestQuotation(ERPNextTestSuite):
|
||||
def test_make_quotation_qar_to_inr(self):
|
||||
quotation = make_quotation(
|
||||
currency="QAR",
|
||||
transaction_date="2026-06-04",
|
||||
transaction_date="2026-01-01",
|
||||
)
|
||||
|
||||
cache = frappe.cache()
|
||||
key = "currency_exchange_rate_{}:{}:{}".format("2026-06-04", "QAR", "INR")
|
||||
key = "currency_exchange_rate_{}:{}:{}".format("2026-01-01", "QAR", "INR")
|
||||
value = cache.get(key)
|
||||
expected_rate = flt(value) / 3.64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user