diff --git a/core/vendors/__init__.py b/core/vendors/__init__.py index 909b3fbb..864dfe1c 100644 --- a/core/vendors/__init__.py +++ b/core/vendors/__init__.py @@ -315,6 +315,8 @@ class AbstractVendor: return round(price, 2) def resolve_price_with_currency(self, price: float | int | Decimal, provider: str, currency: str = "") -> float: + if currency == self.currency or currency == settings.CURRENCY_CODE: + return float(price) rates = get_rates(provider) rate = rates.get(currency or self.currency) if rates else 1