List supported currencies in the configuration template

This commit is contained in:
Oliver Walters 2020-11-10 16:28:55 +11:00
parent 734436b02e
commit 48c20c600a
2 changed files with 19 additions and 0 deletions

View File

@ -352,6 +352,14 @@ LANGUAGES = [
('pk', _('Polish')), ('pk', _('Polish')),
] ]
# Currencies available for use
CURRENCIES = CONFIG.get(
'currencies',
[
'AUD', 'CAD', 'EUR', 'GBP', 'JPY', 'NZD', 'USD',
],
)
LOCALE_PATHS = ( LOCALE_PATHS = (
os.path.join(BASE_DIR, 'locale/'), os.path.join(BASE_DIR, 'locale/'),
) )

View File

@ -26,6 +26,17 @@ language: en-us
# Select an option from the "TZ database name" column # Select an option from the "TZ database name" column
timezone: UTC 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 # Set debug to False to run in production mode
debug: True debug: True