Add DEFAULT_CURRENCY option

This commit is contained in:
Oliver Walters 2021-05-27 12:55:30 +10:00
parent c2fe5e08b4
commit 4df7e53bb8

View File

@ -513,6 +513,11 @@ CURRENCIES = CONFIG.get(
],
)
DEFAULT_CURRENCY = get_setting(
'INVENTREE_DEFAULT_CURRENCY',
CONFIG.get('default_currency', 'USD')
)
# Extract email settings from the config file
email_config = CONFIG.get('email', {})