mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 18:31:16 +00:00
Add DEFAULT_CURRENCY option
This commit is contained in:
1 parent
c2fe5e08b4
commit
4df7e53bb8
1 file changed
+5
@@ -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', {})
|
||||
|
||||
|
||||
Reference in new issue
Block a user