mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
List supported currencies in the configuration template
This commit is contained in:
parent
734436b02e
commit
48c20c600a
@ -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/'),
|
||||||
)
|
)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user