diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index e1f479fff7..9c58686b56 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -352,6 +352,14 @@ LANGUAGES = [ ('pk', _('Polish')), ] +# Currencies available for use +CURRENCIES = CONFIG.get( + 'currencies', + [ + 'AUD', 'CAD', 'EUR', 'GBP', 'JPY', 'NZD', 'USD', + ], +) + LOCALE_PATHS = ( os.path.join(BASE_DIR, 'locale/'), ) diff --git a/InvenTree/config_template.yaml b/InvenTree/config_template.yaml index ecd0a241cf..310fedd70e 100644 --- a/InvenTree/config_template.yaml +++ b/InvenTree/config_template.yaml @@ -26,6 +26,17 @@ language: en-us # Select an option from the "TZ database name" column timezone: UTC +# List of currencies supported by default. +# Add other currencies here to allow use in InvenTree +currencies: + - AUD + - CAD + - EUR + - GBP + - JPY + - NZD + - USD + # Set debug to False to run in production mode debug: True