Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279

This commit is contained in:
Matthias committed 2022-03-20 00:23:29 +01:00
commit 028fff1473
38 files changed
+9083 -8845

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ def currency_code_default():
from common.models import InvenTreeSetting
try:
code = InvenTreeSetting.get_setting('INVENTREE_DEFAULT_CURRENCY')
code = InvenTreeSetting.get_setting('INVENTREE_DEFAULT_CURRENCY', create=False)
except ProgrammingError: # pragma: no cover
# database is not initialized yet
code = ''