mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-10 10:57:52 +00:00
define exception
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user