define exception

This commit is contained in:
Matthias Mair 2024-07-11 22:45:06 +02:00
parent 66c4ecdfc9
commit bdb900a49e
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 1 additions and 1 deletions

View File

@ -1773,7 +1773,7 @@ class StockItem(
price = convert_money(price, base_currency)
total_price += price * qty
quantity += qty
except:
except Exception:
# Skip this entry, cannot convert to base currency
continue