mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-26 08:40:52 +00:00
Add DEFAULT_CURRENCY option
This commit is contained in:
@ -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
|
# Extract email settings from the config file
|
||||||
email_config = CONFIG.get('email', {})
|
email_config = CONFIG.get('email', {})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user